CentraSite 10.7 | CentraSite User’s Guide | User Management | Managing Users through Command Line Interface | Deleting Users
 
Deleting Users
Pre-requisites:
To delete a user from the through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
Before you run the tool, deactivate the user and activate the target user for transferring the ownership of referenced objects.
In some circumstances, a user object cannot be deleted because internal objects that reference it cannot be deleted. This can happen when there are internal references to a user object even though the user is no longer the owner of any assets. There can also be references to the user object in the audit log.
CentraSite provides a Java tool named CentraSiteDeleteUser.jar for this purpose. The tool does the following:
*Transfers ownership of objects, access rights, and group memberships to the target user.
*Assigns the role to the target user if the user was the primary contact of an organization.
*Redirects internal references to the target user.
*Creates an OWNERSHIPTRANSFERRED event in the audit logs for every registry object that references the user object.
*Removes the GUI configuration and the user object.
Important:
The operation to delete a user requires several steps that cannot run within a single transaction. This means every parallel running transaction is able to see intermediate results. Make sure no other activity is in progress while you run the tool. Moreover if there is a failure of any of the steps during the execution, the registry has an intermediate state. The original state cannot be recovered by rolling back the complete operation.
*To delete user
*Run the Java tool CentraSiteDeleteUser.jar.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd CentraSiteDeleteUser.jar <CentraSite URL> <admin user id> <password> <id or key of user to be deleted> <id of target user>
The input parameters are:
Parameter
Description
CentraSite URL
The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
admin user id
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
password
The password for the CentraSite user identified by the parameter admin user id.
id or key of user to be deleted
The user ID or UDDI key of an existing CentraSite user you want to remove from the registry.
id of target user
The user ID of the new user you want to add to the CentraSite registry.
Examples (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd CentraSiteDeleteUser.jar http://localhost:53307/CentraSite/CentraSite DOMAIN\admin pAsSw0rD DOMAIN\oldUser DOMAIN\newUser
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd CentraSiteDeleteUser.jar http://localhost:53307/CentraSite/CentraSite DOMAIN\admin pAsSw0rD uddi:1e5aff10-f3e3-11df-86fc-a6e2fa0ea483 DOMAIN\newUser