AccountSearch.searchByUid()
The method finds an account entity by user ID and distinguished name of a service.
- Availability
-
IBM® Tivoli® Identity Manager 4.x
IBM Tivoli Identity Manager 5.x
IBM Security Identity Manager 6.x
IBM Security Identity Manager 7.0.
- Synopsis
AccountSearch.searchByUid(uid, serviceDN)
- Arguments
-
- uid
- String representing the user ID of the account.
- serviceDN
- String representing the distinguished name of the account.
- Description
- Given the user ID of the account and the distinguished name of the service, find the account
entity. This function returns
null
if there is not exactly one matching account, or if the service is not found. - Usage
-
var account = (new AccountSearch()).searchByUid("pallen", service.dn); if (account!=null) { Enrole.log("script", "Found account pallen"); }