Click or drag to resize
ProjectInfoCheckPermissionsInternal Method
Checks permissions.

Namespace: CMS.ProjectManagement
Assembly: CMS.ProjectManagement (in CMS.ProjectManagement.dll) Version: 8.2.23
Syntax
C#
protected override bool CheckPermissionsInternal(
	PermissionsEnum permission,
	string siteName,
	IUserInfo user,
	bool exceptionOnFailure
)

Parameters

permission
Type: CMS.DataEnginePermissionsEnum
Checked permission.
siteName
Type: SystemString
Site name.
user
Type: CMS.BaseIUserInfo
User.
exceptionOnFailure
Type: SystemBoolean
Whether to throw excetion when user is not permitted.

Return Value

Type: Boolean
True when user is permitted, false otherwise (when exceptionOnFailure is not set).
See Also