Click or drag to resize
UserInfoCheckPermissionsInternal Method
Checks whether the specified user has permissions for this object. This method is called automatically after CheckPermissions event was fired.

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

Parameters

permission
Type: CMS.DataEnginePermissionsEnum
Permission to perform this operation will be checked
siteName
Type: SystemString
Permissions on this site will be checked
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
Exceptions
ExceptionCondition
PermissionCheckExceptionThrown when permission check fail and exception is allowed by exceptionOnFailure parameter.
See Also