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