get Function

Top  Previous  Next

 

Syntax

System.User.get([name])

Arguments

nameAn optional string with the user name.

Return Value

If successful, an instance User object; otherwise the value undefined.

Remarks

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

 

If the name argument is omitted, this gets the user currently logged in, if any.

Examples

 

See Also