Alfresco Index of Web Scripts URI '/api/people'
Alfresco Community v3.2.0 (2039)
2 Web Scripts

Back to Web Scripts Home

Up to uri /api

/api/people/{userName}
/api/people/{userid}/preferences
/api/people/{userid}/sites

Get People
GET /alfresco/service/api/people?filter={filterQuery?}
Description:Get collection of people stored in the repository. This can optionally be filtered according to some given filter query string
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/person/people.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/person/people.get.desc.xml

Add Person
POST /alfresco/service/api/people
Description:Adds a new person based on the details provided.
userName
mandatory - the user name for the new user
firstName
mandatory - the given Name
lastName
mandatory - the family name
email
mandatory - the email address
password
optional - the new user's password. If not specified then a value of "password" is used which should be changed as soon as possible.
Authentication:admin
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/person/people.post
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/person/people.post.desc.xml