Click or drag to resize
TreeNodeCheckPermissionsWithHandler Method
Checks the permissions of the object.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
protected override bool CheckPermissionsWithHandler(
	PermissionsEnum permission,
	string currentSiteName,
	IUserInfo userInfo,
	bool exceptionOnFailure
)

Parameters

permission
Type: CMS.DataEnginePermissionsEnum
Permission type
currentSiteName
Type: SystemString
Name of the current context site
userInfo
Type: CMS.BaseIUserInfo
UserInfo object
exceptionOnFailure
Type: SystemBoolean
If true, PermissionCheckException is thrown whenever a permission check fails

Return Value

Type: Boolean
See Also