Distributing group memberships by using XML

Use the DistributeGroupMemberships procedure of the Managed Active Directory namespace to redistribute the group membership for the next group pending. This procedure must be called once for each group that is pending. Use the GetWin2KCapacityPending procedure to return the groups whose membership needs to be redistributed after a call to ExpandWin2KCapacity.

This procedure expects to be called with impersonate="1". The procedure impersonates the caller.

Example of a request that calls the DistributeGroupMemberships procedure

	<execute namespace="Managed Active Directory" 
		procedure="DistributeGroupMemberships" impersonate="1">
	<after source="executeData" destination="data"  />

Input for DistributeGroupMemberships

The following input is valid for this request:

Typical response for DistributeGroupMemberships

This procedure returns a <pending> tag containing the pending groups, if any groups are pending. This procedure also returns the group whose membership was redistributed during this call.