Permissions Class - Author-it On-Premises - Author-it

Author-it Development Documentation

Provides access to Author-it library object creation, folder and release state permissions.

Namespace: Authorit.API.Services

Constructors

Name

Description

Method

Permissions()

Initializes a new instance of the Permissions class.

Properties

Class contains no properties.

Methods

Name

Description

Method

GetPermissionsForFolder(int)

Get permissions for specified folder.

Method

GetPermissionsForReleaseState(int)

Get permissions for a specified release state.

Method

GetPermissionsForFolderAndReleaseState(int, int)

Get permissions for specified folder and release state.

Method

GetPermissionsForObject(int)

Get permissions for a specified object.

Method

TestPermissions(Authorit.API.Dto.Permission, Authorit.API.Dto.Permission)

Test supplied permissions are sufficient against another set of supplied permissions.

Method

CheckPermissionsForFolder(int, Authorit.API.Dto.Permission)

Check if current user has a permission on a folder.

Method

CheckPermissionsForFolderAndReleaseState(int, int, Authorit.API.Dto.Permission)

Check if current user has a permission on a folder for objects in a specified release state.

Method

CheckPermissionsForObject(int, Authorit.API.Dto.Permission)

Check if current user has a permission on an object.

Method

GetObjectCreatePermissions(int)

Get object create permissions for a specified folder.

Method

TestObjectCreatePermissions(Authorit.API.Dto.ObjectCreatePermission, Authorit.API.Dto.ObjectCreatePermission)

Test supplied object create permissions are sufficient against another set of supplied object create permissions.

Method

CheckObjectCreatePermissions(int, Authorit.API.Dto.ObjectCreatePermission)

Check if current user has permission to create certain objects in specified folder.