WHUserApi::GetTolliumUserByLogin (open)
Looks up a user based on its username, returns a tollium user object
Syntax
LOADLIB "mod::wrd/lib/internal/userapi.whlib";
OBJECT FUNCTION GetTolliumUserByLogin(STRING username)
Parameters
STRING username
Login name
Return value
OBJECT
Result - either userobject or error will be set
STRING error
Failure reason
INTEGER impersonatedentity
ID of user or role being impersonated
STRING impersonatedtitle
Logn of the user or title of the role being impersonated
BOOLEAN isimpersonation
Whether this is a (failed) impersonation (generally not requiring a forced logout)