Pergunta

I'm looking for APIs to fetch user info given a username.

I'm interested in Java API, serverside template/script root object, webscripts services, or even Share API.

Foi útil?

Solução

  • Java API: PersonService
  • JavaScript & Temmplate (Repo-layer): person-Root Object (current user) or people.getPerson(username)
  • REST API (org\alfresco\repository\person\person.get.desc.xml) : GET /api/people/{userName}

Outras dicas

For JavaScript APIs you can refer this Person APIs

For All webscripts related to users you can check this link

Get User Webscripts

You can use any of this as per your requirements.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top