Alt-N Discussion Groups
MDaemon Discussion Groups
MDaemon API
XML API, API issue with createUser Api

Newbie
Posts: 1
We used to create mailbox users through “createUser” API before our MDaemon server was updated to version 20.5.0. , after which problems started to occur.
We used the following xml to create a User account test15@wolwobiotech.com in the group ‘wolwoshanghai‘ with several remote Admin settings.
<MDaemon>
<API>
<Request encoding=GB2312 version='20.5.0' echo='Yes' verbose='No'>
<Operation>CreateUser</Operation>
<Parameters>
<Domain>wolwobiotech.com</Domain>
<Mailbox>test15</Mailbox>
<Details>
<MustChangepassword>Yes</MustChangepassword>
<DontExpirePassword>Yes</DontExpirePassword>
<Password>Test88</Password>
<FullName>testUser</FullName>
</Details>
<GroupMembership><Group>wolwoshanghai</Group></GroupMembership>
<RemoteAdmin>
<EditPassword>Yes</EditPassword>
<EditFwd>Yes</EditFwd>
<EditAutoResponder>Yes</EditAutoResponder>
<EditImapRules>Yes</EditImapRules>
<EditMobileDevice>Yes</EditMobileDevice>
</RemoteAdmin></Parameters></Request></API></MDaemon>
With the new 20.5.0 version, we were able to create the user, but the user account wasn't included in the specific group as we required, nor was it included into any group at all. Also, the remoteAdmin setting was not able to function as expected.
The following is the account information of remoteAdmin after we created the user account through the createUser API. We sincerely hope for a prompt solution to this problem.
Attachments: |
api_createUser_result.png (668 KB) |
|
|
|