Use the CreateMailbox procedure of the Managed Exchange namespace to create a mailbox for a user. This procedure gives the user access to basic messaging and calendar services through Exchange 2000 Server.
This procedure performs explicit internal permissions testing. Only members of admins@organization and domain administrators can call this procedure.
<request> <procedure> <execute namespace="Managed Exchange" procedure="CreateMailbox"> <executeData> <path>LDAP://cn=user1,ou=contosoOrg,ou=Hosting,dc=contoso,dc=com</path> <alias>user1</alias> <proxyAddresses> <value>user1@contosoOrg.com</value> <value>email@example.com</value> </proxyAddresses> <mail> <size>100</size> <disablePOP>1</disablePOP> <disableIMAP>1</disableIMAP> </mail> </executeData> </execute> </procedure> </request>
The following input is valid for this request:
Use the <path> element to specify the Lightweight Directory Access Protocol (LDAP) path of the user for whom you are creating a mailbox.
<path>LDAP://LDAP path of the user</path>
Use the <proxyAddresses> element to specify the values of the proxy addresses for this user's mailbox.
<proxyAddresses> <value>proxy address of the user's mailbox</value> </proxyAddresses>
Use the <size> element to specify the file limit for the mailbox. If the mailbox contents exceed this limit, the user can no longer send e-mail messages.
<size>size limit of mailbox</size>
By using the <alias> element, you can set the mailNickname attribute on the user object. If this parameter is not provided, the user must have a userPrincipalName, and the alias will be everything to the left of the @ sign in the userPrincipalName. If there is no @ sign in the userPrincipalName, the whole userPrincipalName will be used. Outlook uses the mailNickname to resolve a user, but the attribute does not need to be unique. If two users in two different virtual organizations have the same mailNickname, the sending user is prompted to select which one they want. If the two users are in two different Global Address Lists, no such prompt is presented.
By using the other mail properties, as supported by the Exchange Provider, you can control a variety of mail options. For more information on the Exchange Provider, see Exchange Provider.
The response to this procedure does not contain significant data.