Click or drag to resize
DocumentSecurityHelperIsAuthorizedPerDocument Method (Int32, String, NodePermissionsEnum, String, UserInfo)
Checks if the user is authorized for specified document (Checks all CONTENT, Document type and ACL permissions).

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static AuthorizationResultEnum IsAuthorizedPerDocument(
	int nodeId,
	string className,
	NodePermissionsEnum permission,
	string culture,
	UserInfo userInfo
)

Parameters

nodeId
Type: SystemInt32
ID of node
className
Type: SystemString
Class name of the document
permission
Type: CMS.DocumentEngineNodePermissionsEnum
Permission
culture
Type: SystemString
Culture to check
userInfo
Type: CMS.MembershipUserInfo
User to check

Return Value

Type: AuthorizationResultEnum
See Also