cancel
Showing results for 
Search instead for 
Did you mean: 

Create user with password

__2
Champ in-the-making
Champ in-the-making

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.

2 REPLIES 2

Gregory_Carlin
Elite Collaborator
Elite Collaborator

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

Gabriel_A__de_S
Champ on-the-rise
Champ on-the-rise

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"
	}
}

Getting started

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.