UserSecurityHelperIsAuthorizedPerResource Method |
Namespace: CMS.Membership
public static bool IsAuthorizedPerResource( string resourceName, string permissionName, string siteName, UserInfo userInfo, bool exceptionOnFailure = false )
Exception | Condition |
---|---|
PermissionCheckException | Thrown when permission check fail and exception is allowed by exceptionOnFailure parameter. |