Answered

CreateUser with Password

in my process, i have a accion

I have an expression and i can create a user succesfully with...

-------------------

var inputXMLUser = "<BizAgiWSParam>";

inputXMLUser += "<Entities>";

inputXMLUser += "<WFUSER>";

inputXMLUser += "<userName>xxxxxx</userName>";

inputXMLUser += "<Organizations><idOrg key=\"1\"/></Organizations>";

inputXMLUser += "<domain>domain</domain>";

inputXMLUser += "<fullName>XXXXXX</fullName>";

inputXMLUser += "<contactEmail>xxxxxxxx</contactEmail>";

inputXMLUser += "<enabled>true</enabled>";

inputXMLUser += "</WFUSER>";

inputXMLUser += "</Entities>";

inputXMLUser += "</BizAgiWSParam>";

Users = CEntityXmlHelper.fromXmlToEntity(inputXMLUser);

-------------------

My problem is that i cant set a password

i try to set de password but it doesnt work

inputXMLUser += "<password>XXXXXX</password>";

how can i do this?

Thanks

Comments (1)

photo
1

Dear Cristian,

Please review your "password" attribute because in the documentation the XML shows Password with uppercase P. https://help.bizagi.com/bpm-suite/en/index.html?createuserasstring.htm. We also want to share two very important recommendations to bear in mind:

1. Be sure to include in the password only characters that are supported by the XML.

2. If you follow these suggestions and the problem persists try modifying the password directly in the WFUSER table. It will work!

Best regards.