IBM Security Privileged Identity Manager, Version 2.0.2

ContainerSearch.searchByURI()

The method finds an organizational container by URI in a parent organizational container.

Availability
IBM® Security Privileged Identity Manager 1.0
Synopsis
ContainerSearch.searchByURI(containerDN, uri)
Arguments
Container DN
String representing the distinguished name of the parent organizational container.
uri
String representing the URI of the organizational container.
Returns
A DirectoryObject representing the container.
Description
Given the distinguished name of the parent organizational container and the container URI, this method finds the container. If the container is not found, this function returns null. If more than one container is found, this function throws a scripting exception.
Usage
var container = (new ContainerSearch()).searchByURI(parentContainer.dn,
   uri);
if (container != null) {
Enrole.log("script", "Found " + container.getProperty("ou") );}


Feedback