Hosted Active Directory::CreateGroup
The CreateGroup method sreates an Active Directory Group object.
Arguments
Input Arguments | Required | Description |
---|---|---|
<container> |
Yes |
The Lightweight Directory Access Protocol (LDAP) of the container in which the new Contact is to be created. |
<name> |
Yes |
Contact name. |
<preferredDomainController> |
Yes |
The name of the preferred domain controller. |
<policyName> |
No |
The name of the creation policy defined in the GetPolicy named procedure. The default value is "default", which creates a single organization. |
<description> |
No |
Description of this group. |
<groupType> |
No |
Type of the group. |
<properties> |
No |
Property list of the group. |
Output Arguments | Description |
---|---|
<group> |
Returned by the GetPolicy named procedure. |
Remarks
Procedures Steps
Managed Active Directory::CreateGroup
Managed Plans::CreateCustomer
Sample Code
Example XML Request
<request xmlns:xsl="https://www.w3.org/1999/XSL/Transform">
<procedure xmlns:xsl='https://www.w3.org/1999/XSL/Transform'>
<execute namespace="Hosted Active Directory" procedure="CreateGroup" impersonate="1">
<executeData>
<container>LDAP://OU=AlpineSkiHouse,OU=WH,OU=Hosting,DC=Fabrikam,DC=Com</container>
<name>group1</name>
<groupType>Security</groupType>
<after source="executeData" destination="data" mode="merge"/>
</execute>
</procedure>
</request>
Applies To
Hosted Active Directory Namespace API for
Hosted Messaging and Collaboration version 4.5
Hosted Messaging and Collaboration version 4.0
See also
Tasks
Hosted Active Directory::DeleteGroup
HostedActiveDirectory::ModifyGroup