Previous Topic: CLI Agent Type MethodsNext Topic: CLI Authentication Scheme Methods


CLI Authentication and Authorization Map Methods

AuthDir Method—Sets or Retrieves the Authentication Directory

The AuthDir method sets or retrieves the authentication directory of the authentication and authorization map.

Syntax

The AuthDir method has the following format:

Netegrity::PolicyMgtAuthAzMap‑>AuthDir([userDir])

Parameters

The AuthDir method accepts the following parameter:

userDir (PolicyMgtUserDir)

(Optional) Specifies the authentication directory to set.

Return Value

The AuthDir method returns one of the following values:

AzDir Method—Sets or Retrieves the Authorization Directory

The AzDir method sets or retrieves the authorization directory of the authentication and authorization map.

Syntax

The AzDir method has the following format:

Netegrity::PolicyMgtAuthAzMap‑>AzDir([userDir])

Parameters

The AzDir method accepts the following parameter:

userDir (PolicyMgtUserDir)

(Optional) Specifies the authorization directory to set.

Return Value

The AzDir method returns one of the following values:

MapType Method—Sets or Retrieves the Type of Authentication and Authorization Map

The MapType method sets or retrieves the type of authentication and authorization map.

Syntax

The MapType method has the following format:

Netegrity::PolicyMgtAuthAzMap‑>MapType([mapType])

Parameters

The MapType method accepts the following parameter:

mapType (int)

(Optional) Specifies the map type. The following values are valid:

AUTHAZMAPTYPE_DN (Value=1). Mapping is based on a DN.

AUTHAZMAPTYPE_UNIVERSALID (Value=2). Mapping is based on a universal identifier.

AUTHAZMAPTYPE_ATTR (Value=3). Mapping is based on an attribute in the directory.

Return Value

The MapType method returns one of the following values: