Managed Office Communications Server::DeleteSipUser
This procedure removes a user from the Office Communications Server.
Arguments
Input argument | Required | Type | Description |
---|---|---|---|
<user> |
Yes |
xs:string |
The Lightweight Directory Access Protocol (LDAP) path of the user. |
<preferredDomainController> |
Yes |
xs:string |
The domain controller to use for Active Directory actions. |
Remarks
Security
The caller must be at least a member of role: Customer Administrator
Permission Check
This procedure will perform a test for Customer Administrator (UserCreators).
Preconditions
The user exists in the Office Communications Server.
Post-conditions
The user will be removed from the Office Communications Server.
Sequence Narrative
Actor submits DeleteSipUser request to the Managed Office Communications Server namespace.
The Managed Office Communications Server namespace transforms the user's LDAP path to DN.
The Managed Office Communications Server namespace calls the Office Communcations Server Provider::DeleteSipUser procedure.
Sample Code
Example XML Request
<request>
<data>
<!--LDAP path of the user-->
<user>LDAP://CN=JohnC@AlpineSkiHouse.com,OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</user>
<!--The domain controller to use for Active Directory actions-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
</data>
<procedure>
<execute namespace="Managed Office Communications Server" procedure="DeleteSipUser" impersonate="1">
<before source="data" sourcePath="user" destination="executeData" mode="move" />
<before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
<response>
<data />
</response>
Applies To
Managed Office Communications Server Namespace API for:
- Hosted Messaging and Collaboration version 4.5