Checking the Sequence Order for Asset Profiles from the Command Line
In the CentraSite Control UI, the sequence number plays a vital role in the profile display order and the associated instance-level profile permissions. In general, the sequence numbers assigned to the predefined profiles and computed profiles are odd numbers and even numbers are assigned to the user-defined profiles. But, some predefined profiles are designated with an even sequence number.
When a user creates a new profile, consider the system assigns an even sequence number that matches with one of the predefined profiles. When the user sets the profile-level permissions for the new profile, the same permissions are also assigned to the predefined profile that has the same even sequence number within the asset type. As a result, the user might get permissions to more profiles than intended.
Use the toolbox command, FixProfileSequenceNumber, to resolve the sequence number issue.
The syntax for the toolbox command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd|sh FixProfileSequenceNumber.jar <CentraSite URL> <admin user id> <password>
The input parameters are:
Parameter | Description |
CentraSite URL | (Optional) The fully qualified URL of the CentraSite registry/repository. Default value is http://localhost:53307. |
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. |
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd FixProfileSequenceNumber.jar http://localhost:53307/CentraSite/CentraSite Administrator manage