WhoAmI
Displays the user name and full name of the user currently logged-in to the system. When the current logged on user is Windows user this function returns the user’s full name in the format of <DomainName>\<UserName>. The names are displayed at the prompt AN.
Syntax
WhoAmI()
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
Example
/* Display the user's full name and user name at the prompt AN. */
WhoAmI();
See Also