> ## Documentation Index
> Fetch the complete documentation index at: https://auth0-docs-event-stream-action-templates.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# UsernameValidationResult

The result of validating a username against one or more rules.

```ts Example theme={null}
export interface UsernameValidationResult {
  isValid: boolean;
  errors: UsernameValidationError[];
}
```

## Properties

<ParamField body="isValid" type="boolean" required>
  Indicates whether the username passed all validation rules.
</ParamField>

<ParamField body="errors" type={<span><a href="/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/UsernameValidationError">UsernameValidationError[]</a></span>} required>
  An array of [UsernameValidationError](/docs/libraries/acul/react-sdk/API-Reference/Types/interfaces/UsernameValidationError) objects representing
  the individual rules that failed, if any.

  This array is empty if [UsernameValidationResult.isValid](#isvalid) is `true`.
</ParamField>
