HostedActiveDirectory::GroupAdd

The GroupAdd method adds a member to a group.

Arguments

Input Arguments Required Description

<group>

Yes

The Lightweight Directory Access Protocol (LDAP) path of the group object to be modified

<newMember>

Yes

The LDAP path of the object to be added as a member

Remarks

Procedure Step

  • Managed Active Directory::GroupAdd

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="GroupAdd" impersonate="1"> 
                        <executeData> 
                                <group>LDAP://CN=testuser@Cutomer1, OU=Customer1, OU=WH, 
                                   OU=HOSTING, DC=Fabrikam, DC=COM</group> 
                                <newMember>LDAP://CN=testgroup@Cutomer1, OU=Customer1, OU=WH, 
                                   OU=HOSTING, DC=Fabrikam, DC=COM</newMember> 
                        </executeData> 
                </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

HostedActiveDirectory::GroupRemove