Page 1 of 1

CreateAccount, C Sharp

Posted: Sat Jul 14, 2018 10:10 am
by Immo
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)

Re: CreateAccount, C Sharp

Posted: Mon Jul 16, 2018 5:14 pm
by Immo
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);