Add and Delete User Using REST API In Alfresco | Code Factory

Reference Link : Link

Alfresco One 5.x Developer’s Guide : Download

Log in :

Log in and establish a ticket.
Input

u
cleartext user name (must be URL encoded)
pw
cleartext password (must be URL encoded)

Returns the new authentication ticket.
The user name and password are provided as URL arguments which may be
logged by proxies or the Alfresco server.

Add Person :

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.
disableAccount
optional - If present and set to "true" the user is created but their account will be disabled.
quota
optional - Sets the quota size for the new user, in bytes.
groups
optional - Array of group names to assign the new user to.
title
optional - the title for the new user.
organisation
optional - the organisation the new user belongs to.
jobtitle
optional - the job title of the new user.

(NOTE : Add ? at the end of the URL)

Delete Person :

Delete a person.

userName
mandatory - the user name for the new user

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store