The CreateUser method accepts the following input
parameters.
Input arguments |
Required |
Description |
Container |
No |
The lightweight directory access protocol (LDAP) path to the
container in which to place the user. |
UserPrincipalName |
No |
The User Principal Name (UPN). |
policyName |
No |
Policy name (defaults to "default"). |
SamAccountName |
No |
The logon name used to support clients and servers running older
versions of the operating system, such as Microsoft Windows NT 4.0,
Windows 95, Windows 98, and LAN Manager. This attribute must be
longer than 20 characters to support older clients.
|
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 Microsoft
Provisioning Framework (MPF) during the processing of the
request. |
Output Arguments
The CreateUser method returns the LDAP path to the newly created
user.