SOAP API method NewDocumentPrivileges_isAllowed

Back to API references

Returns true or false for this privilege for this role.

Parameter 'id' : string
Unique identifier (id) of the object NewDocumentPrivileges. The method only applies to the newdocumentprivileges with this id.
Parameter 'privilege' : string
Type of privileges ('use','view','edit', etc.)
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'value' : boolean
The returned privilege.

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