Alfresco Index of Web Scripts Package '/org/alfresco/repository/person'
Alfresco Community v3.2.0 (2039)
7 Web Scripts

Back to Web Scripts Home

Up to package /org/alfresco/repository

Update User Password
POST /alfresco/service/api/person/changepassword/{userName}
Description:Update the password of a current user - can only be executed for the current user or by an admin to update any user.
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/person/changepassword.post
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/person/changepassword.post.desc.xml

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

Delete Person
DELETE /alfresco/service/api/people/{userName}
Description:Delete a person.
Authentication:admin
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/person/person.delete
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/person/person.delete.desc.xml

Get Person
GET /alfresco/service/api/people/{userName}
Description:Get the details of a person.
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/person/person.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/person/person.get.desc.xml

Update Person
PUT /alfresco/service/api/people/{userName}
Description:Update the details of a person.
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/person/person.put
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/person/person.put.desc.xml

Sites
GET /alfresco/service/api/people/{userid}/sites?size={pagesize?}&pos={position?}
Description:Get a colleciton of the sites a person has an explicit member to.
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/person/person.sites.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/person/person.sites.get.desc.xml