Managed Active Directory::CreateGroup

The CreateGroup method creates a group in Active Directory and sets the description.

Arguments

The CreateGroup method accepts the following input parameters.

Input arguments Required Description

Container

No

The LDAP path to the container in which to place the group.

Name

No

The name of the new group.

GroupType

No

The type of group, for example, GLOBAL SECURITY.

PolicyName

No

The MPS policy, for example, reseller.

Description

No

The general description of the group.

PreferredDomainController

No

The domain controller to use for this operation.

SendCredentials

No

True/False: embed basic authentication credentials in the MPF request.

ErrorReturn

No

Out parameter containing the error (if any) thrown by MPF during the processing of the request.

Output Arguments

The CreateGroup method returns the LDAP path to the newly created group.

Remarks

No remarks.

Sample Code

No sample code.

Applies To

Managed Active Directory Web Service for:

  • Hosted Messaging and Collaboration version 4.0

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

  • Windows-based Hosting version 4.5

  • Windows-based Hosting version 4.0

  • Windows-based Hosting version 3.5

  • Windows-based Hosting for Applications version 1.0

See also

Tasks

Managed Active Directory::DeleteGroup
Managed Active Directory::ModifyGroup
Managed Active Directory::RenameGroup