Terug naar de indexpagina

SOAP API methode WebSite_privileges

Beschrijving

Return a privilege for the given user, 'use', 'view', 'edit' or 'none' If the role is not supplied, the privileges of a new role will be returned.

Parameters

Naam Type Beschrijving
id * int Unique identifier (id) of the object WebSite. The method only applies to the website with this id.
user Structure of type 'user' The user for which the privileges should be returned
login Structure of type 'login' Optional login data
access_token string Optional api access token
* verplichte parameters

Resultaat

Naam Type Beschrijving
privileges Structure of type 'privileges'

Structuur 'user'

Naam Type Beschrijving
id int The ID of the user.
created timestamp The timestamp when the user is created.
end timestamp The timestamp when the user is ended.
gender string The gender of the user.
name string The name of the user.
description string The description of the user.
email string The email address of the user.
phone string The phone number of the user.
sms string The sms number of the user.
fax string The fax number of the user.
applicationadmin boolean Returns if the user is application admin.
accountadmin boolean Returns if the user is account admin.
styleadmin boolean Returns if the user is style admin.
dummy boolean Returns if the user is a dummy user.
apiaccess boolean Returns if the user has access to the API.
uiacess boolean Returns if the user has access to the user interface.
disabled boolean Is this user disabled?.
active boolean Is this user active?
receivenews boolean Will this user receive the news?.
language string The prefered language of the user.
timezone string Get the timezone for the user. If no timezone is set an empty string is returned.
unsecure boolean Is this an insecure user?.

Structuur 'login'

Naam Type Beschrijving
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

Structuur 'privileges'

Naam Type Beschrijving
id string The id of the privileges object.
rights string The access rights for this privileges object.