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