Question

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.

Était-ce utile?

La solution

  • 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}

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top