This Methodis used to add a SecurityGroupType Objectto the SecurityGroupFolderType Object.

The Clientshall be authorized to modify the configuration for the PubSubfunctionality when invoking this Methodon the Server.

Signature

AddSecurityGroup(

[in]StringSecurityGroupName

[in]DurationKeyLifetime

[in]StringSecurityPolicyUri

[in]UInt32MaxFutureKeyCount

[in]UInt32MaxPastKeyCount

[out]StringSecurityGroupId

[out]NodeIdSecurityGroupNodeId

);

Argument

Description

SecurityGroupName

Name of the SecurityGroupto add.

KeyLifetime

The lifetime of a key in milliseconds

SecurityPolicyUri

The SecurityPolicyused for the SecurityGroup.

MaxFutureKeyCount

The maximum number of future keys returned by the Method GetSecurityKeys.

MaxPastKeyCount

The maximum number of historical keys stored by the SKS

SecurityGroupId

The identifier for the SecurityGroup.

SecurityGroupNodeId

The NodeIdof the added SecurityGroupType Object.

Method Result Codes

ResultCode

Description

Bad_NodeIdExists

A SecurityGroupwith the name already exists.

Bad_UserAccessDenied

The Sessionuser is not allowed to configure the object.