08-17-2015 07:58 AM
Hello,
I would like to get users info like first name and last name (in my case a lock owner) using java rest api. How should I do it ?
11-11-2015 07:54 AM
Use This in REST Client:
HTTPGet Method with below request:
http://localhost:8080/nuxeo/site/api/v1/user/
ex: http://localhost:8080/nuxeo/site/api/v1/user/Administrator Result will be:
{
"entity-type": "user",
"id": "Administrator",
"properties":
{
"tenantId": null,
"lastName": "",
"username": "Administrator",
"email": "Administrator@example.com",
"company": "",
"firstName": "",
"password": "",
"groups":
[
"administrators"
]
},
"extendedGroups":
[
{
"name": "administrators",
"label": "Administrators group",
"url": "group/administrators"
}
],
"isAdministrator": true,
"isAnonymous": false
}
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.