The Add method adds an agent, response, rule, or nested group object to the group.
Syntax
The Add method has the following format:
Netegrity::PolicyMgtGroup‑>Add(newMember)
Parameters
The Add method accepts the following parameter:
newMember (objectType)
Specifies the member to add to the group. objectType can be any one of the following:
Return Value
The Add method returns one of the following values:
The Contains method determines whether the group contains the specified agent, response, rule, or nested group object.
Syntax
The Contains method has the following format:
Netegrity::PolicyMgtGroup‑>Contains(object)
Parameters
The Contains method accepts the following parameter:
object (objectType)
Specifies the object to check. objectType can be any one of the following:
Return Value
The Contains method returns one of the following values:
The Description method sets or retrieves the description of the group object.
Syntax
The Description method has the following format:
Netegrity::PolicyMgtGroup‑>Description([Description])
Parameters
The Description method accepts the following parameter:
Description (string)
(Optional) Specifies the description to set.
Return Value
The Description method returns one of the following values:
The GetAgent method retrieves the specified agent object from the group.
Syntax
The GetAgent method has the following format:
Netegrity::PolicyMgtGroup‑>GetAgent(agentName)
Parameters
The GetAgent method accepts the following parameter:
agentName (string)
Specifies the name of the agent to retrieve.
Return Value
The GetAgent method returns one of the following values:
The GetAgentGroup method retrieves an agent group object nested within the group.
Syntax
The GetAgentGroup method has the following format:
Netegrity::PolicyMgtGroup‑>GetAgentGroup(groupName)
Parameters
The GetAgentGroup method accepts the following parameter:
groupName (string)
Specifies the name of the agent group to retrieve.
Return Value
The GetAgentGroup method returns one of the following values:
The GetAgentType method retrieves the type of the agent objects contained in the group (for example, Web Agent).
Syntax
The GetAgentType method has the following format:
Netegrity::PolicyMgtGroup‑>GetAgentType( )
Parameters
The GetAgentType method accepts no parameters:
Return Value
The GetAgentType method returns one of the following values:
The GetAllAgentGroups method retrieves all the agent group objects nested within the group.
Syntax
The GetAllAgentGroups method has the following format:
Netegrity::PolicyMgtGroup‑>GetAllAgentGroups( )
Parameters
The GetAllAgentGroups method accepts no parameters.
Return Value
The GetAllAgentGroups method returns one of the following values:
The GetAllAgents method retrieves all the agent objects in the group.
Syntax
The GetAllAgents method has the following format:
Netegrity::PolicyMgtGroup‑>GetAllAgents( )
Parameters
The GetAllAgents method accepts no parameters.
Return Value
The GetAllAgents method returns one of the following values:
The GetAllResponseGroups method retrieves all the response group objects nested within the group.
Syntax
The GetAllResponseGroups method has the following format:
Netegrity::PolicyMgtGroup‑>GetAllResponseGroups( )
Parameters
The GetAllResponseGroups method accepts no parameters.
Return Value
The GetAllResponseGroups method returns one of the following values:
The GetAllResponses method retrieves all the response objects in the group.
Syntax
The GetAllResponses method has the following format:
Netegrity::PolicyMgtGroup‑>GetAllResponses( )
Parameters
The GetAllResponses method accepts no parameters.
Return Value
The GetAllResponses method returns one of the following values:
The GetAllRuleGroups method retrieves all the rule group objects nested within the group.
Syntax
The GetAllRuleGroups method has the following format:
Netegrity::PolicyMgtGroup‑>GetAllRuleGroups( )
Parameters
The GetAllRuleGroups method accepts no parameters.
Return Value
The GetAllRuleGroups method returns one of the following values:
The GetAllRules method retrieves all the rule objects in the group.
Syntax
The GetAllRules method has the following format:
Netegrity::PolicyMgtGroup‑>GetAllRules( )
Parameters
The GetAllRules method accepts no parameters.
Return Value
The GetAllRules method returns one of the following values:
The GetResponse method retrieves the specified response object from the group.
Syntax
The GetResponse method has the following format:
Netegrity::PolicyMgtGroup‑>GetResponse(responseName)
Parameters
The GetResponse method accepts the following parameter:
responseName (type)
Specifies the name of the response to retrieve.
Return Value
The GetResponse method returns one of the following values:
The GetResponseGroup method retrieves a response group object nested within the group.
Syntax
The GetResponseGroup method has the following format:
Netegrity::PolicyMgtGroup‑>GetResponseGroup(groupName)
Parameters
The GetResponseGroup method accepts the following parameter:
groupName (string)
Specifies the name of the response group to retrieve.
Return Value
The GetResponseGroup method returns one of the following values:
The GetRule method retrieves the specified rule object from the group.
Syntax
The GetRule method has the following format:
Netegrity::PolicyMgtGroup‑>GetRule(ruleName)
Parameters
The GetRule method accepts the following parameter:
ruleName (string)
Specifies the name of the rule to retrieve.
Return Value
The GetRule method returns one of the following values:
The GetRuleGroup method retrieves a rule group object nested within the group.
Syntax
The GetRuleGroup method has the following format:
Netegrity::PolicyMgtGroup‑>GetRuleGroup(groupName)
Parameters
The GetRuleGroup method accepts the following parameter:
groupName (string)
Specifies the name of the rule group to retrieve.
Return Value
The GetRuleGroup method returns one of the following values:
The Name method sets or retrieves the name of the group object.
Syntax
The Name method has the following format:
Netegrity::PolicyMgtGroup‑>Name([Name])
Parameters
The Name method accepts the following parameter:
Name (string)
(Optional) Specifies the name to set.
Return Value
The Name method returns one of the following values:
The Remove method removes the specified group member from the group.
Syntax
The Remove method has the following format:
Netegrity::PolicyMgtGroup‑>Remove(member)
Parameters
The Remove method accepts the following parameters:
member (objectType)
Specifies the group member to remove, which can be any of the following object types:
Return Value
The Remove method returns one of the following values:
Copyright © 2014 CA.
All rights reserved.
|
|