InsertLinkByPermissionBuildAccessMaskforComponent Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Returns the access mask which is a combination of all the specified permissions available in this method. This support method makes it easier to create the access mask to use when setting the AccessMask property.

Namespace: ContentStudio.Site.ActiveScripting.Security
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax

public static CSObjectPermissions BuildAccessMaskforComponent(
	bool checkForBrowse,
	bool checkForReadList,
	bool checkForWrite,
	bool checkForCreate,
	bool checkForDelete,
	bool checkForApprove,
	bool checkForStartWorkflow,
	bool checkForRejectWorkflow,
	bool checkForTerminateWorkflow,
	bool checkForAdmin
)

Parameters

checkForBrowse
Type: SystemBoolean
Check that the caller has the Browse on site permission set.
checkForReadList
Type: SystemBoolean
Check that the caller has the Read permission set.
checkForWrite
Type: SystemBoolean
Check that the caller has the Write permission set.
checkForCreate
Type: SystemBoolean
Check that the caller has the Create permission set.
checkForDelete
Type: SystemBoolean
Check that the caller has the Delete permission set.
checkForApprove
Type: SystemBoolean
Check that the caller has the Approve document permission set.
checkForStartWorkflow
Type: SystemBoolean
Check that the caller has the Start workflow permission set.
checkForRejectWorkflow
Type: SystemBoolean
Check that the caller has the Reject document permission set.
checkForTerminateWorkflow
Type: SystemBoolean
Check that the caller has the Terminate Workflow permission set.
checkForAdmin
Type: SystemBoolean
Check that the caller has the Adminstrative permission set.

Return Value

Type: CSObjectPermissions
Returns the access mask which is a combination of all the specified permissions available in this method.
See Also

Reference