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

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

Determines if the caller has delete access to a document. If permanent delete is specified, the GlobalRights.DestroyDocuments right is checked as well.

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

protected bool CheckAccess(
	int documentId
)

Parameters

documentId
Type: SystemInt32
The document to check

Return Value

Type: Boolean
Returns true if the caller has delete access to a document, false otherwise.
See Also

Reference