Creating a new user with LDAP authentication

You can create a new user as LDAP authenticated with the CreateUser method of the AdminSession object and then using the SetLDAPAuthentication method to set the new user's account to LDAP authentication.

You can also create a new user as LDAP authenticated with the CreateUserLDAPAuthenticated method of the AdminSession object. This function creates a HCL Compass user account with LDAP authentication.

See theCreateUserLDAPAuthenticated method for more information.