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

# Politique relative au nom d’utilisateur

```ts Example theme={null}
export interface UsernamePolicy {
  isActive?: boolean
  maxLength: number;
  minLength: number;
  allowedFormats?: {
    usernameInEmailFormat?: boolean;
    usernameInPhoneFormat?: boolean;
  };
}
```

<h2 id="properties">
  Propriétés
</h2>

<ParamField body="allowedFormats?" type="object">
  <h4 id="usernameinemailformat">
    usernameInEmailFormat?
  </h4>

  <h4 id="usernameinphoneformat">
    usernameInPhoneFormat?
  </h4>
</ParamField>

<ParamField body="isActive?" type="boolean" />

<ParamField body="maxLength" type="number" />

<ParamField body="minLength" type="number" />
