touser() Function

Converts a value to User.

Syntax

touser( value, … )

value (Any Type): Value to convert.

Returns

User

Notes

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}

FEEDBACK