cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert an OBJECT to USER

__10
Champ on-the-rise
Champ on-the-rise

I have and object like this:

  1. company: ""
  2. displayIcon: true
  3. displayLabel: "Administrator"
  4. email: "[email protected]"
  5. entity-type: "user"
  6. firstName: ""
  7. groups: []
  8. id: "Administrator"
  9. lastName: ""
  10. prefixed_id: "user:Administrator"
  11. tenantId: null
  12. type: "USER_TYPE"
  13. username: "Administrator"
  14. proto: Object

and is used like an Object, but i want to use it like an User

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

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

Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

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.