Example XML Request
<request>
<procedure>
<execute namespace="Managed Active Directory" procedure="CreateUser" impersonate="1">
<executeData>
<container>LDAP://OU=Reseller1,OU=Hosting,DC=contoso,DC=com</container>
<userPrincipalName>upnMyUser1</userPrincipalName>
<sAMAccountName>Accntname</sAMAccountName>
<policyName>reseller</policyName>
<displayName>Joe Smith</displayName>
<givenName>Joe</givenName>
<middleName>John</middleName>
<sn>Smith</sn>
<initials>JS</initials>
<description>User description</description>
<properties>
<property name="otherHomePhone">
<value>425-555-1212</value>
<value>206-555-1212</value>
</property>
</properties>
<preferredDomainController>myPrimaryDC.contoso.com
</preferredDomainController>
</executeData>
<after source="executeData" destination="data" sourcePath="user" />
</execute>
</procedure>
</request>
Example XML Response
This procedure returns the <user> tag containing the user
object created and the membership and security policies supplied.
Each object created has its LDAP path in a path attribute.
<response>
<data>
<user path="LDAP://cn=upnMyUser1,OU=Reseller1,OU=Hosting,DC=contoso,DC=com"
name="upnMyUser1" samName="upnMyUser1"></user>
</data>
</response>