Create Mailbox

Creates a mailbox in the Exchange database and a user in Active Directory.

Input Parameters

Name Type Required Description
User Name String Yes The name of the user in Active Directory.
First Name String Yes The first name of the user.
Last Name String Yes The last name of the user.
Password String Yes The password for the user in the Active Directory domain.
User Principle Name String Yes The user principle name for the user in Active Directory.
Database String Yes The GUID of the database or the database name.
Must change password Boolean Yes Determines if the user should change the password at first logon.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
User Name String Yes Jsmith
First Name String Yes John
Last Name String Yes Smith
Password String Yes Password!@#
User Principle Name String Yes jsmith@ABC.com
Organizational Unit String No <intentionally left blank>
Database String Yes Mailbox Database
Must Change Password Boolean No Optionally have user change password at next logon