Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon API > API Create user not work

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon API  /

API Create user not work

[Deus, Javier Meilán]
Javier Meilán …
Newbie
Newbie
Posts: 30
Javier Meilán Deus - 03:27am, Oct 8 2021

We are developing a connector for the automation of user creation in the mail server, but in the tests, we observed that they are not created according to the XML specifications

(?xml version="1.0" encoding="UTF-8"?)
(MDaemon)
(API)
(Request version="21.0.2" echo="1" verbose="0")
(Operation)CreateUser(/Operation)
(Parameters)
(Domain)mail.es(/Domain)
(Mailbox)testingAPI(/Mailbox)
(Details)
(FullName)Javier Millan(/FullName)
(Frozen)No(/Frozen)
(Disabled)Yes(/Disabled)
(MustChangepassword)No(/MustChangepassword)
(DontExpirePassword)Yes(/DontExpirePassword)
(Password)Generado01(/Password)
(Description)Personal de Tienda 301(/Description)
(AdminNotes)Generado01(/AdminNotes)
(Title/)
(FirstName)Prueba(/FirstName)
(MiddleName/)
(LastName)Prueba Prueba(/LastName)
(/Details)
(Aliases)
(Alias)jmillan_365@mail.es(/Alias)
(/Aliases)
(GroupMembership)
(Group)Nomina(/Group)
(Group)mailStore(/Group)
(Group)Certificados(/Group)
(/GroupMembership)
(/Parameters)
(/Request)
(/API)
(/MDaemon)

Account is not created in disabled mode
Does not add aliases and groups

I have checked the documentation and I do not see where the error can be

Attachments:

captura1.PNG (12 KB)

 

captura2.PNG (21 KB)


  All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Arron Caruth - Oct 8, 2021 8:10 am (#1 Total: 3)  

Guest User  

Photo of Author
Posts: 1
What version of MDaemon are you using?

Are you running the 32 or 64 bit version of MDaemon?

I've tested your XML Request, after changing the () to <> and have been unable to reproduce the issues you are having using MD 21.0.3 and the current beta version.  

What does the MDmgmtWS log show is occurring when you submit the request?

What is the response that you get back when submitting the request?

--
Arron Caruth
Vice President of Product Development
o: 817-601-3222    e: Arron.Caruth@mdaemon.com

MDaemon Technologies
Simple Secure Email

Visit us on www.mdaemon.com | Facebook | LinkedIn | YouTube
Sent using the MDaemon Email Server

On Fri, 8 Oct 2021 03:27:45 -0500, "lists-md-api@mdaemon.com (Javier Meilán Deus)" <lists-md-api@mdaemon.com> wrote:
We are developing a connector for the automation of user closure on the mail server, but in the tests we have carried out, we observed that they are not created according to the XML specifications

(?xml version="1.0" encoding="UTF-8"?)
(MDaemon)
(API)
(Request version="21.0.2" echo="1" verbose="0")
(Operation)CreateUser(/Operation)
(Parameters)
(Domain)mail.es(/Domain)
(Mailbox)testingAPI(/Mailbox)
(Details)
(FullName)Javier Millan(/FullName)
(Frozen)No(/Frozen)
(Disabled)Yes(/Disabled)
(MustChangepassword)No(/MustChangepassword)
(DontExpirePassword)Yes(/DontExpirePassword)
(Password)Generado01(/Password)
(Description)Personal de Tienda 301(/Description)
(AdminNotes)Generado01(/AdminNotes)
(Title/)
(FirstName)Prueba(/FirstName)
(MiddleName/)
(LastName)Prueba Prueba(/LastName)
(/Details)
(Aliases)
(Alias)jmillan_365@mail.es(/Alias)
(/Aliases)
(GroupMembership)
(Group)Nomina(/Group)
(Group)mailStore(/Group)
(Group)Certificados(/Group)
(/GroupMembership)
(/Parameters)
(/Request)
(/API)
(/MDaemon)

Account is not created in disabled mode
Does not add aliases and groups

I have checked the documentation and I do not see where the error can be

Attachment: captura1.PNG
Attachment: captura2.PNG



View/reply at API Create user not work
--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user 
support and discussion.  MDaemon staff members may participate in the 
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical 
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------

--MD-API-------------------------------------------------------------
This list is for questions and discussions regarding MDAEMON's API.
To unsubscribe from this mailing list send an email to
md-api-unsubscribe@mdaemon.com .
--POWERED BY MDAEMON!------------------------------------------------

---------------------------------------------------------------------
These forums are provided by MDaemon Technologies for user-to-user
support and discussion.  MDaemon staff members may participate in the
forums periodically but please recognize that this is not the official
method of receiving technical support. To receive personal technical
support please use the form here:
http://www.mdaemon.com/support/request_support.asp
---------------------------------------------------------------------

Javier Meilán Deus - Oct 11, 2021 10:47 am (#2 Total: 3)  

 

Photo of Author
Javier Meilán …
Newbie
Newbie
Posts: 30
Yes,

I have updated to version 21.0.3, and it works correctly, before I had version 21.0.2.

Thanks for the help.

One thing if I want to ask you. In a future version it is possible when we create the user by xmlAPI, pass the MailDir parameter. So you don't create the account in the default directory.



  (newer msg:1)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.