How to give a returning user access to their old content by swapping GUIDs

CAT Features

Problem Description

A user has left the company. Some time later, they return to the company and receive a new LDAP entry. However, they would like access to the content they created with the old identity.

Solution: swap the GUIDs

Solution with Websphere Commandline Interface

Search the HCL Connections documentation for the steps to solve your problem.

  1. Start the wsadmin commandline interface as administrator. ATTENTION: All commands for the commandline interface are case sensitive!
  2. Activate the relevant Jython script.
  3. Perform the relevant Jython commands.

Solution with Connections Administration Toolkit (CAT)

Navigate to User Management – By User and filter for the affected user — old and new user. In this case, Daisy Duck has left the company, married, and returned as Daisy Rest.

View the details of the new user (Daisy Rest) to find out the GUID. Copy the GUID.

Then view the details of the original user (Daisy Duck) and use the “Swap GUID” button. The user’s GUID will already be prefilled in the “Current GUID of user” section. Copy the GUID of the new user (Daisy REST) into the “New GUID” spot:

A confirmation popup summarizes the changes and allows you to enter a comment. All changes, comments, and who made them, are logged by the CAT application. After the command has been executed successfully and the user filter has been refreshed, you can see that all of the new user’s (Daisy Rest) credentials (UID, Login, Email, GUID, state) have been transferred to the old user (Daisy Duck). From now on, when Daisy Rest logs in with her new LDAP entry credentials DRE, she will have access to Daisy Duck’s entire content. To change the display name to reflect Daisy Duck’s marital name of “Daisy Rest”, run a TDI synchronization or use the “Edit User” button in the details of “Daisy Duck”.

Other CAT Features