# KeyUserName

The name of the attribute to search for in the LDAP server.

When you authenticate a user in LDAP, it searches the group and its subdirectories for the user name that you provide in the action. You can specify the group in the Group configuration parameter, or in the Group action parameter in the Security or UserRead action. If IDOL Community Component finds the specified user name in this attribute, it attempts to authenticate against it with the credentials provided in the action.

NOTE: If there is more than one user with the specified user name, authentication fails.

If your LDAP server does not allow anonymous binding, you must use BaseDN and BaseDNPassword to specify the credentials of an LDAP user that has permission to perform the search.

You must also set RDNAttribute to perform LDAP authentication. If you do not set `KeyUsername`, IDOL Community Component does not perform a search, and it can only authenticate users within the Group directory, and not subdirectories.

Type: | String
Default: |
Required: | No
Configuration Section: | `MySecurityRepository`
Example: | `KeyUserName=uid`
See Also: | BaseDN BaseDNPassword Group RDNAttribute UserRead action Group parameter

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm