CreateAccount, C Sharp

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Immo
Posts: 2
Joined: Sat Jul 14, 2018 9:59 am

CreateAccount, C Sharp

Postby Immo » Sat Jul 14, 2018 10:10 am

Hello! Iam add wsdl in my visual studio and get a lot off methods. So iam trying add new function to my program like auto mail create. Iam can create, but cant send attribute like displayName, GivenName and sn. How iam can do it? SOAP request seems like - <a n=\"displayName\"> NAME </a> . Properties of this method dont have any parameters.

PS - Sorry for my eng, i hope u can understand my problem)


Immo
Posts: 2
Joined: Sat Jul 14, 2018 9:59 am

Re: CreateAccount, C Sharp

Postby Immo » Mon Jul 16, 2018 5:14 pm

my procedure now look like, please help me, idk how i can send this attr.....

Code: Select all

private void CreateAcc(string mailLogin)                       
        {
            var CARes = new SR.createAccountResponse();                 
            var CAReq = new SR.createAccountRequest                     
            {
                name = mailLogin
                password = MailPass,
                // a = { },  HOW IAM CAN ADD givenName, sn and displayName ?????????
            };


            CARes = client.createAccountRequest(HC, CAReq);

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 0 guests