This section contains the following topics:
AuthScheme Method—Sets or Retrieves an Authentication Scheme
Description Method—Sets or Retrieves the Description of an Administrator
ManageAllDomains Method—Grants or Revokes Privileges to Manage Policy Server Objects
ManageDomainObjects Method—Grants or Revokes Privileges to Manage Domain Objects
ManageKeysAndPwdPolicy Method—Grants or Revokes Privileges to Manage Keys and Password Policies
ManageUsers Method—Grants or Revokes Privileges to Manage Users
Name Method—Sets or Retrieves the Name of an Administrator
Password Method—Sets or Retrieves the Administrator Password
UserDirectory Method—Sets or Retrieves an External User Directory
The AuthScheme method sets or retrieves the authentication scheme for an administrator stored in an external directory.
Syntax
The AuthScheme method has the following format:
Netegrity::PolicyMgtAdmin‑>AuthScheme( [authScheme] )
Parameters
The AuthScheme method accepts the following parameter:
authScheme (PolicyMgtAuthScheme)
(Optional) Specifies the authentication scheme to set.
Return Value
The AuthScheme method returns one of the following values:
The Description method sets or retrieves the description of the administrator.
Syntax
The Description method has the following format:
Netegrity::PolicyMgtAdmin‑>Description( [adminDesc] )
Parameters
The Description method accepts the following parameter:
adminDesc (string)
(Optional) Specifies the description of the administrator.
Return Value
The Description method returns one of the following values:
The ManageAllDomains method grants or revokes privileges to manage all system-level and domain-level Policy Server objects.
Syntax
The ManageAllDomains method has the following format:
Netegrity::PolicyMgtAdmin‑>ManageAllDomains( [allDomFlag] )
Parameters
The ManageAllDomains method accepts the following parameter:
allDomFlag (int)
(Optional) Specifies whether system-level and domain-level privileges are enable (set to a value of 1), or disabled (set to a value of 0).
Return Value
The ManageAllDomains method returns one of the following values:
Remarks
Privileges include:
Note: These objects cannot be managed through the Scripting Interface.
The ManageDomainObjects method grants or revokes privileges to manage domain-level Policy Server objects.
Syntax
The ManageDomainObjects method has the following format:
Netegrity::PolicyMgtAdmin‑>ManageDomainObjects( [domFlag] )
Parameters
The ManageDomainObjects method accepts the following parameter:
domFlag (int)
(Optional) Specifies whether domain object management privileges are granted (set to a value of 1), or revoked (set to a value of 0).
Return Value
The ManageDomainObjects method returns one of the following values:
Remarks
Privileges include:
Note: These objects cannot be managed through the Scripting Interface.
The ManageKeysAndPwdPolicy method grants or revokes administrator privileges to manage keys and password policies.
Syntax
The ManageKeysAndPwdPolicy method has the following format:
Netegrity::PolicyMgtAdmin‑>ManageKeysAndPwdPolicy( [pwdPolFlag] )
Parameters
The ManageKeysAndPwdPolicy method accepts the following parameters:
pwdPolFlag (int)
(Optional) Specifies granting or revoking privileges. Setting this flag to 1 has different meanings for different types of administrators:
Note: You can only create system-level administrators with the Command Line Interface. To create a domain-level administrator, use the Administrative UI.
Setting this flag to 0 revokes these privileges.
Return Value
The ManageKeysAndPwdPolicy method returns one of the following values:
The ManageUsers method grants or revokes privileges to manage users.
Syntax
The ManageUsers method has the following format:
Netegrity::PolicyMgtAdmin‑>ManageUsers( [userFlag] )
Parameters
The ManageUsers method accepts the following parameter:
userFlag (int)
(Optional) Specifies whether to grant (set value to 1) or revoke (set value to 0) user management privileges.
Return Value
The ManageUsers method returns one of the following values:
The Name method sets or retrieves the name of the administrator.
Syntax
The Name method has the following format:
Netegrity::PolicyMgtAdmin‑>Name( [adminName] )
Parameters
The Name method accepts the following parameter:
adminName (string)
(Optional) Specifies the name of the administrator.
Return Value
The Name method returns one of the following values:
The Password method sets or retrieves the administrator password.
Syntax
The Password method has the following format:
Netegrity::PolicyMgtAdmin‑>Password([adminPwd])
Parameters
The Password method accepts the following parameter:
adminPwd (string)
(Optional) Specifies the administrator password.
Return Value
The Password method returns one of the following values:
The UserDirectory method sets or retrieves an external user directory for the administrator.
Syntax
The UserDirectory method has the following format:
Netegrity::PolicyMgtAdmin‑>UserDirectory([userDir])
Parameters
The UserDirectory method accepts the following parameter:
userDir (PolicyMgtUserDir)
(Optional) Specifies the external user directory.
Return Value
The UserDirectory method returns one of the following values:
Copyright © 2015 CA Technologies.
All rights reserved.
|
|