Previous Topic: CreateAgentConfig Method—Creates Agent Configuration Object

Next Topic: CreateAuthAzMap Method—Creates Directory Mapping Object

CreateAgentGroup Method—Creates Agent Group

The CreateAgentGroup method creates an agent group.

Syntax

The CreateAgentGroup method has the following format:

Netegrity::PolicyMgtSession‑>CreateAgentGroup(agentGroupName, agentType[, groupDesc])

Parameters

The CreateAgentGroup method accepts the following parameters:

agentGroupName (string)

Specifies the name of the agent group.

agentType (PolicyMgtAgentType object)

Specifies the type of agent associated with the agent group.

Note: To retrieve the agent type for this method, call the method PolicyMgtSession‑>GetAgentType.

groupDesc (string)

(Optional) Specifies the description of the agent group.

Return Value

The CreateAgentGroup method returns one of the following values:


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