Common API calls to get user information
HCL Compass also uses records to store user administration information. If you are writing hook code, this information can be useful for controlling user privileges and access permissions. You can get user administration information about the user logged into the current session by using the following methods of the Session object.
- User administration task
- Session object method
- Get the name of the current user
GetUserLoginName
- Get a list of groups to which the user belongs
GetUserGroups
- Get a user's e-mail address
GetUserEmail
- Get a user's full name
GetUserFullName
- Get a user's phone number
GetUserPhone
- Get any additional information about the user
GetUserMiscInfo