The ModifyUser method accepts the following input
parameters.
Input arguments |
Required |
Description |
User |
No |
The LDAP path to the user object to be modified. |
UserPrincipalName |
No |
The UPN. |
SamAccountName |
No |
The pre-Windows 2000 name (SAM name).
Note: sAMAccountName cannot be longer than 20
characters. See SAM-Account-Name
Attribute for more information.
|
DisplayName |
No |
The user Display Name. |
GivenName |
No |
The user first name. |
MiddleName |
No |
The user middle name. |
Sn |
No |
The user last name. |
Initials |
No |
The user initials. |
Description |
No |
The General Description property. |
PropertyXml |
No |
A group of XML properties in the following format:
<properties> <property name="l">Some City</property> <property name="sn">Last Name</property></properties>
|
PreferredDomainController |
No |
The domain controller to use for this operation. |
SendCredentials |
No |
True/False: embed basic authentication credentials in the MPF
request. |
ErrorReturn |
No |
Out parameter containing the error (if any) thrown by MPF
during the processing of the request. |
The ModifyUser method has the following return values.
Output arguments |
Description |
True |
If the method succeeds. |
False |
If the method fails to modify the properties of a user in
Active Directory. |