Back to API references

SOAP API method User_grantConstructPrivilege

Description

Grant a new privilege to the user.

Parameters

Name Type Description
id * int Unique identifier (id) of the object User. The method only applies to the user with this id.
privilege * string Possible values are: 'databases', 'emailingtemplates', 'websites', 'webtemplates', 'smsdocuments', 'pdftemplates', 'xslts', 'contentfeeds', 'surveys', 'medialibraries'
login Structure of type 'login' Optional login data (soon deprecated)
access_token string Optional api access token
* required parameters

Structure 'login'

Name Type Description
username string The username of the login attempt
account string The account name of the login attempt
password string The password for the login attempt