This section demonstrates the format and use of the agentadmin command with the --getUuid option.
The following example illustrates the format of the agentadmin command with the --getUuid option:
./agentadmin --getUuid userName IdType realmName
The following arguments are supported with the agentadmin command when using the --getUuid option:
Use this first parameter of the --getUuid option to specify the name associated with the identity type. The identity type is represented in this example as the IdType parameter. Therefore, if the identity type is for a user, this userName parameter would be the name of that user.
Use this second parameter to specify a valid identity type. The following are examples of valid identity types: user, role, group, filtered role, agent, and such.
Use this third parameter to specify the name of the default organization of the Access Manager installation.
For example, if the ID of the user is manager, the identity type is role, and the realm name is dc=example,dc=com, the following would be the universal ID:
The universal ID concept is only valid starting with Access Manager 7. Do not use this option with earlier versions of Access Manager, such as version 6.3. If the application is deployed with Access Manager 6.3 principals or roles, replace the role-to-principal mappings with the distinguished name (DN) of the user in Access Manager 6.3.
In Access Manager 7, issuing the agentadmin command with the --getUuid option retrieves the universal ID of any identity type in Access Manager 7.
Use the correct universal ID generated by this command in a deployment descriptor that is application container specific.