CheckPermissionsForObject(Integer, Permission) Method - Author-it On-Premises - Author-it

Author-it Development Documentation

Check if current user has a permission on an object.

Parameters

Name

Type

Description

objectId

Integer

ID of object to check permissions on.

checkPermissions

Permission

Permissions to check.

Returns

Type: Boolean

true if user has permissions, false otherwise.

Addresses

JSON: http://<Base Address>/Permissions/json/CheckPermissionsForObject

JSON (for IIS): http://<Base Address>/Permissions.svc/json/CheckPermissionsForObject