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