Previous Topic: AddAdmin Method—Adds an Administrator to the Domain

Next Topic: CreatePolicy Method—Creates and Configures a Policy in the Domain

AddUserDir Method—Associates a User Directory with the Domain

The AddUserDir method associates a user directory with the domain.

Syntax

The AddUserDir method has the following format:

Netegrity::PolicyMgtDomain‑>AddUserDir(userDir)

Parameters

The AddUserDir method accepts the following parameter:

userDir (PolicyMgtUserDir)

Specifies the user directory to associate with the domain.

Return Value

The AddUserDir method returns one of the following values:

Remarks

During user authentication, the user's supplied credentials are checked against the credentials stored in this user directory.

The directory object is appended to the end of the search order. To change the search order, call the PolicyMgtAffDomain‑>SetUserDirSearchOrder method.


Copyright © 2010 CA. All rights reserved. Email CA about this topic