Managed CDI::ModifyUser
The ModifyUser procedure modifies the CDI settings for a specified customer user.
Arguments
Input argument | Required | Description |
---|---|---|
<path> |
Yes |
The Lightweight Directory Access Protocol (LDAP) path of the user in the Service Provider domain. |
<preferredDomainController> |
Yes |
The name of the preferred domain controller in the Service Provider domain. |
<remoteSamAccountName> |
No |
The sAMAccountName of the remote user.
Note
sAMAccountName cannot be longer than 20 characters. See SAM-Account-Name Attribute for more information.
|
<remoteUserPrincipalName> |
No |
The UPN of the remote user. |
Remarks
Security
The ModifyUser procedure has the following security requirements:
The caller is impersonated.
Minimum security role is UserCreators.
Sample Code
Example XML Request
The following is an example of an XML request for the ModifyUser procedure of the Managed CDI Namespace.
<?xml version="1.0" encoding="iso-8859-1" ?>
<request>
<procedure>
<execute namespace="Managed CDI" procedure="ModifyUser" impersonate="1">
<executeData>
<path>LDAP://CN=jimc@alpineSkiHouse.com,OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</path>
<remoteSamAccountName>jimc</remoteSamAccountName>
<remoteUserPrincipalName>jimc@alpine.com</remoteUserPrincipalName>
<preferredDomainController>ad0l.fabrikam.com</preferredDomainController>
</executeData>
</execute>
</procedure>
</request>
Example XML Response
No example XML response.
Applies To
Managed Customer Directory Integration Namespace API for:
Hosted Messaging and Collaboration version 4.0
Hosted Messaging and Collaboration version 3.5
Windows-based Hosting version 4.5
Windows-based Hosting version 4.0
Windows-based Hosting for Applications version 1.0