How to change the LDAP attribute used by the Impersonation portlet
Applies to
HCL Digital Experience v9.5 and higher
Introduction
The HCL Digital Experience (DX) Impersonation portlet allows administrators to impersonate other users for troubleshooting and access verification. By default, the portlet renders user profiles using the common name (cn) attribute configured in your Lightweight Directory Access Protocol (LDAP) directory. In deployment environments with identical user names or specific naming standards, administrators may prefer displaying the user ID (uid) or another attribute to clearly identify accounts.

When using the uid attribute, the user profile name is displayed as follows:

Note
The environment where these screen captures were taken uses HCL Domino as the LDAP platform. The equivalent attributes for other LDAP platforms may be different.
This article describes how to change the user profile LDAP attribute that displays within the HCL DX Impersonation portlet.
Instructions
To change the user profile LDAP attribute that displays within the HCL DX Impersonation portlet, perform the following steps:
- Log in to the WebSphere Integrated Solutions Console as an administrator on the standalone application server or the deployment manager (DMGR) in a clustered environment.
- Go to Resources > Resource Environment > Resource Environment Providers > WP GlobalThemeConfig > Custom properties.
- Select the user.displaynameattribute custom property.
- In the Value box, enter the LDAP attribute that you want to use (for example,
cn,uid, ordisplayName). - Select Apply.
- Select Save at the top of the console messages.
- If you have a clustered environment, synchronize the nodes:
- Navigate to System administration > Nodes.
- Select the nodes you want to synchronize.
- Select Synchronize or Full Resynchronize. Ensure the nodes you selected are showing a green status icon indicating that the nodes are synced.
Note
Changing the value of the user.displaynameattribute custom property changes how the user profile name is displayed throughout the theme, not just in the Impersonation portlet. This change does not affect how the user profile name is displayed in areas of the product where it is not rendered through the theme.