getuser takes a User Name and returns the matching User Object.




FQN: Is the qualified name of the user to be retrieved.


User Object

A qualified name can include as many Domain names as is necessary to uniquely identify the user. If the user name is unique within the Domains to which the invoking user has access, then no qualification is necessary. Only if there is more than one user with the same name (in different accessible domains) will it be necessary to qualify the user name with the domain in which it is located.


1) Retrieve a User.

set user1 = getuser("admin");

echo "Name: ${}";

echo "Telephone: ${}";

2) Retrieve a User specifying the enclosing domain:

set user1 = getuser("Project1.User1");

See Also:

getApplication(), getComponent(), getcredential(), getEnvironment(), getserver(),getusergroup()