How to convert an OBJECT to USER
I have and object like this:
- company: “”
- displayIcon: true
- displayLabel: “Administrator”
- email: “devnull@nuxeo.com”
- entity-type: “user”
- firstName: “”
- groups: []
- id: “Administrator”
- lastName: “”
- prefixed_id: “user:Administrator”
- tenantId: null
- type: “USER_TYPE”
- username: “Administrator”
- proto: Object
and is used like an Object, but i want to use it like an User
0 votes
1 answers
865 views
Hello,
You should look at https://doc.nuxeo.com/rest-api/1/user-entity-type/.
Like
curl -u Administrator:Administrator https://XXX.nuxeo.com/nuxeo/api/v1/user/MyUser