Checking the permissions of the currently logged in user via the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources

CheckPermissionReport/ POST — Returns a list of allowed and forbidden permissions for the currently logged in user based on the provided permissions array.

HTTP Action — POST

URI — https://api.dynect.net/REST/CheckPermissionReport/

Arguments:

array permissionRequired. A list of permissions to check against the current user.

string zone_name — Optional. Zone_name to check whether the logged in user has permissions.

Response — Click for More Info

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands

CheckPermissions — Returns a list of allowed and forbidden permissions for the currently logged in user based on the provided permissions array.

Arguments:

string tokenRequired. The session identifier.

array permissionRequired. A list of permissions to check against the current user.

string zone_name — Optional. Zone_name to check whether the logged in user has permissions.

Response — Click for More Info

Example Request — Click for More Info