Click or drag to resize
UserSecurityHelperIsAuthorizedPerClassName Method
Checks whether the user is authorized for given class name and permission, returns true if so.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public static bool IsAuthorizedPerClassName(
	string className,
	string permissionName,
	string siteName,
	UserInfo userInfo
)

Parameters

className
Type: SystemString
Class name
permissionName
Type: SystemString
Permission name to check
siteName
Type: SystemString
Site name
userInfo
Type: CMS.MembershipUserInfo
User to check

Return Value

Type: Boolean
See Also