touser() Function

Function

touser( value )

Converts a value to User.

Parameters

Keyword Type Description

value

Any Type

Value to convert.

Returns

User

Usage considerations

The value parameter accepts User, Text, Binary, People, and Array types.

When operating on arrays, it is not necessary to use apply with touser. If multiple parameters are passed, or one parameter is an Array, then touser will return a User Array.

Examples

You can experiment with this function in the test box below.

Test Input

touser("john.doe") returns john.doe.

touser("john.doe","jane.doe") and touser({"john.doe","jane.doe"}) both return {john.doe, jane.doe}

Open in Github Built: Fri, Nov 19, 2021 (11:59:11 AM)

On This Page

FEEDBACK