Click or drag to resize
UserInfoProviderIsAuthorizedPerClassInternal Method
Returns true if user is granted with specified permission for particular class.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 12.0.0
Syntax
C#
protected virtual bool IsAuthorizedPerClassInternal(
	string className,
	string permissionName,
	string siteName,
	UserInfo userInfo,
	bool exceptionOnFailure
)

Parameters

className
Type: SystemString
Class name in format application.class
permissionName
Type: SystemString
Permission name
siteName
Type: SystemString
Site name for which check the permissions
userInfo
Type: CMS.MembershipUserInfo
User info object
exceptionOnFailure
Type: SystemBoolean
If true, PermissionCheckException is thrown whenever a permission check fails

Return Value

Type: Boolean
See Also