create Function

Top  Previous  Next

 

Syntax

System.User.create(name, password)

Arguments

nameA string with the user name to create.
passwordA string with the user's password.

Return Value

If successful, an instance User object; otherwise an integer with an error code.

Remarks

Use the typeof operator to determine if the result is an object (success) or a number (failure).

Examples

 

See Also