Retrieving user login information
The following methods for retrieving
user login information help provide support for LDAP authentication:
- GetUserLoginName of the AdminSession object
Returns the HCL Compass user name stored in the database. See GetUserLoginName method of the AdminSession object
- GetAuthenticationLoginName (of the AdminSession
and Session objects)
Returns the string that a user enters as the login name when authenticating. For HCL Compass Authenticated users, this string is the same as the HCL Compass login name field in the User object. For LDAP Authenticated users, this is the LDAP login name and may be different than the HCL Compass login name field in the User object depending on the HCL Compass to LDAP mapping configuration. See GetAuthenticationLoginName method of the AdminSession object and GetAuthenticationLoginName method of the Session object.