The SearchRoot method sets or retrieves different values for different directory types:
The SearchRoot method sets or retrieves the location in the LDAP tree that is the starting point for the directory connection, for example, the organization (o) or organizational unit (ou). This location, called the search root, is the point where the Policy Server starts the search for a user.
The SearchRoot method sets or retrieves a string of parameters to pass to the custom library.
Syntax
The SearchRoot method has the following format:
Netegrity::PolicyMgtUserDir‑>SearchRoot([srchRoot])
Parameters
The SearchRoot method accepts the following parameter:
srchRoot (string)
Specifies a new search root for an LDAP directory or parameter string for a custom directory.
Return Value
The SearchRoot method returns one of the following values:
Specifies the new or existing search root for an LDAP directory or parameter string for a custom directory.
Specifies that the call is unsuccessful.
Copyright © 2010 CA. All rights reserved. | Email CA about this topic |