SOAP API method User_grantConstructPrivilege

Back to API references

Description
Grant a new privilege to the user.

Parameters
Parameter 'id' : int
Unique identifier (id) of the object User. The method only applies to the user with this id.
Parameter 'privilege' : string
Possible values are: 'databases', 'emailingtemplates', 'websites', 'webtemplates', 'smsdocuments', 'pdftemplates', 'xslts', 'contentfeeds', 'surveys', 'medialibraries'
Parameter 'login' : Structure of type 'login'
Optional login data

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt