07-03-2020 05:28 AM
I'm trying to sync user management between Nuxeo server and an application built with it. I've read the model documentation at https://doc.nuxeo.com/rest-api/1/user-entity-type/ and the endpoint documentation at https://doc.nuxeo.com/rest-api/1/user-endpoint/# The property for the user name is 'username' but what's the property to set for his/her password? I can try an educated guess but couldn't figure out this information from the documentation.
Thanks in advance for your help.
07-03-2020 05:02 PM
Hello,
This part of the documentation is missing, but it should be planned to be reviewed. In the meantime, you can use the automation endpoint https://nuxeo.github.io/api-playground/#/commands/User.CreateOrUpdate: you'll find the password attribute.
Regards
07-06-2020 09:59 AM
You just need to pass the "password" property inside "properties" object
{
"entity-type": "user",
"id": "",
"properties": {
"lastName": "Demo",
"username": "demo",
"email": "demo@localhost",
"company": "",
"firstName": "Demo",
"password": "12345"
}
}
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.