topeople() Function

Converts a value to People.

Syntax

topeople( value, ... )

value: (Text) Value to convert.

Returns

People

Notes

The value parameter accepts Text, User, Group and People types.

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

Examples

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

Test Input

topeople(1, "john.doe") returns {[Group:1], john.doe}

FEEDBACK