HP Anywhere API Reference
getUserName Method
Returns the current user's name.
The user name from the user repository is the login name. The user name is usually the same as the user ID.
Syntax
java.lang.String getUserName()

Return Value

The current user name from the users repository
Exceptions
ExceptionDescription
java.lang.Exception 
Since
HP Anywhere 10.00 and later
See Also

Reference

UserInfoService Interface
UserInfoService Members