http://localhost:8181/alfresco/s/api/people/USUARIO?groups=true
Tendremos que sustituir el literal: "USUARIO" por el nombre de usuario que deseemos consultar.La respuesta que obtendremos será algo similar a lo siguiente:
{
"url": "\/alfresco\/s\/api\/people\/usr3",
"userName": "usr3",
"enabled": true,
"firstName": "usr3",
"lastName": "",
"jobtitle": null,
"organization": null,
"organizationId": null,
"location": null,
"telephone": null,
"mobile": null,
"email": "gis@asac.as",
"companyaddress1": null,
"companyaddress2": null,
"companyaddress3": null,
"companypostcode": null,
"companytelephone": null,
"companyfax": null,
"companyemail": null,
"skype": null,
"instantmsg": null,
"userStatus": null,
"userStatusTime": null,
"googleusername": null,
"quota": -1,
"sizeCurrent": 0,
"emailFeedDisabled": false,
"persondescription": null,
"authorizationStatus": null,
"isDeleted": false,
"isAdminAuthority": false
,
"capabilities":
{
"isAdmin":
false
,"isMutable":
true
,"isGuest":
false
},
"groups": [
{
"itemName": "GROUP_Contabilidad",
"displayName": "Contabilidad"
}],
"immutability":
{
}
}
No hay comentarios:
Publicar un comentario
Déjanos tu comentario