ServiceSearch.searchForClosestToPerson()
The method searches for a service closest to a person.
- 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
ServiceSearch.searchForClosestToPerson(person, profileName)
- Arguments
-
- person
- The
DirectoryObject
representing a person to use as the basis for the search. - profileName
- Optional service profile name.
- Returns
- An array of
DirectoryObjects
representing the results of the search.
- Description
- This method searches for a service closest to a person.
- Usage
-
//Search for AIX service closest to the person. searchResult1 = ServiceSearch.searchForClosestToPerson(subject, "PosixAixProfile"); //Search for any service closest to the person. searchResult2 = ServiceSearch.searchForClosestToPerson(subject);