Share via


Managed Active Directory::GetWin2KCapacityPending

The GetWin2KCapacityPending method returns the groups whose memberships need to be redistributed after a call to ExpandWin2KCapacity.

Arguments

Input Arguments Required Description

<organization>

Yes

The Lightweight Directory Access Protocol (LDAP) path of the organization

<capacityType>

Yes

The capacity type of the group. Possible values are:

  • UserN: This type is used to limit the users per organization.

  • ChildOrgN: This type is used to limit the child organizations per organization.

<preferredDomainController>

No

The domain controller to be used for this request

Remarks

Implementation details require that this procedure be run when the group membership reaches 4000, rather than waiting to reach the 5000 member limit of Windows 2000 Server.

Security

  • Impersonate caller.

Sample Code

Example XML Request

<request> 
  <procedure> 
    <execute namespace="Managed Active Directory" procedure="GetWin2KCapacityPending" impersonate="1"> 
      <executeData> 
        <organization>LDAP://ou=Hosting,dc=contoso01,dc=com</organization> 
        <capacityType>UserN</capacityType> 
      </executeData> 
      <after source="executeData" destination="data"  /> 
    </execute>     
  </procedure> 
</request>

Example XML Response

<response> 
  <data> 
    <executeData> 
      <organization>LDAP://ou=Hosting,dc=contoso01,dc=com</organization> 
      <capacityType>UserN</capacityType> 
      <pending path="LDAP://CN=AllUsers@Hosting,CN=_Private, 
          OU=Hosting,DC=contoso01,DC=com" 
          container="LDAP://cn=UserN,CN=MultiGroup,CN=_Private, 
          OU=Hosting,DC=contoso01,DC=com" /> 
    </executeData> 
  </data> 
</response>

Applies To

Managed Active Directory Namespace APIManaged Active Directory Namespace API for:

  • Hosted Messaging and Collaboration version 4.5

  • 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::ExpandWin2KCapacity
Managed Active Directory::GetWin2KCapacityExpansion