UserSecurityHelperIsAuthorizedPerObject Method (PermissionsEnum, String, String, UserInfo, Boolean) |
Namespace: CMS.Membership
public static bool IsAuthorizedPerObject( PermissionsEnum permission, string objectType, string siteName, UserInfo userInfo, bool exceptionOnFailure = false )
Exception | Condition |
---|---|
PermissionCheckException | Thrown when permission check fail and exception is allowed by exceptionOnFailure parameter. |