Use this command to clear a user from the cache of the
repository adapter.
Purpose
Use the
clearIdMgrUserFromCache command
to clear the specified user from the cache of the repository adapter,
if the user exists in the cache.
Note: The clearIdMgrUserFromCache
command does not clear the group membership details of the user. To
clear group membership information for a user from the cache, use
the getMembershipOfUser wsadmin command with the -clearCache parameter.
For more information see
getMembershipOfUser command.
Syntax
clearIdMgrUserFromCache { -principalName loginID [-securityDomainName domainName] }
Parameters
- -principalName login_ID
- Use this parameter to specify the login ID of the user to be cleared
from the cache. If the user is in an LDAP repository, then the principalName
must be the distinguished name (DN) of the entry. The user is removed
from the cache of the adapter of the repository where the user exists.
If more than one user is found for the same principal name, then all
of them are cleared from the cache. If the user is not found in the
cache, then cache is not cleared and no error message appears.
- -securityDomainName domainName
- Specifies the name that uniquely identifies the security domain.
If you do not specify this parameter, the command uses the global
federated repository.
Sample
To clear user from cache, issue this
command:
$AdminTask clearIdMgrUserFromCache {-principalName login_ID}