Click or drag to resize
UserInfoProviderIsAuthorizedPerClass Method (String, String, String, UserInfo)
Returns true if user is granted with specified permission for particular class (document type).

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

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

Return Value

Type: Boolean
See Also