Click or drag to resize
AbstractWrapperInfoTInfoCheckPermissionsWithHandler Method
Checks whether the specified user has permissions for this object. Outcome of this method is determined by combining results of CheckPermissions event and CheckPermissionsInternal method.

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

Parameters

permission
Type: CMS.DataEnginePermissionsEnum
Permission to perform this operation will be checked
currentSiteName
Type: SystemString
Name of the current context site. Permissions are checked on this site only when the site name cannot be obtained directly from the info object (from SiteIDColumn or site binding).
userInfo
Type: CMS.BaseIUserInfo
Permissions of this user will be checked
exceptionOnFailure
Type: SystemBoolean
If true, PermissionCheckException is thrown whenever a permission check fails

Return Value

Type: Boolean
True if user is allowed to perform specified operation on the this object; otherwise false
See Also