# have_violating_rules · FT4 Rell API · Chromia Docs (concept)

> function have_ violating_ rules(auth_ descriptor: account_ auth_ descriptor ): boolean Checks if any rules of the given auth descriptor are violated. Throw

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/have_violating_rules/

FUNCTION

# have\_violating\_rules

```signature
function have_violating_rules(auth_descriptor: account_auth_descriptor): boolean
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/auth_descriptor_rule_validation.rell#lines-105)

Checks if any rules of the given auth descriptor are violated.

Throws when the rules cannot be parsed, that is, when the `rules` field does not contain
any of the acceptable values.

Can only be called from an operation.

**Parameters**

* **auth\_descriptor** — the `account_auth_descriptor` to check

**See Also**

* [rule\_expression](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/rule_expression/) — for an explanation of rule violation
* [account\_auth\_descriptor.rules](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/account_auth_descriptor/) — for the list of acceptable values

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts/have_violating_rules.html)Generated API reference, mirrored from the live docs
