For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.
# idmap list
For example, to find all user mappings that map to the Oracle Solaris user pat, you would type:
# idmap list | grep pat
For example, to find all unidirectional group mappings that map to the Oracle Solaris group staff, type:
# idmap list | grep staff
To remove any rule-based mapping that involves the specified user name, username:
# idmap remove username
To remove rule-based mappings between username1 and username2:
# idmap remove username1 username2
To remove all rule-based mappings:
# idmap remove -a
To remove any rule-based mapping that involves the specified group name, group-name:
# idmap remove group-name
To remove rule-based mappings between group-name1 and group-name2:
# idmap remove group-name1 group-name2
To remove all rule-based mappings:
# idmap remove -a