**Source URL:** https://limited.veevavault.dev/quality/mdl/component-types/qmsautomationusertemplate

# Qmsautomationusertemplate

**Class:** `metadata`

This component is specific to Quality family Vaults and supports the External Audit Collaboration features of the QMS application. Use `Qmsautomationusertemplate` to automatically create *External User* accounts for existing *Person* records.

Learn about [QMS in Vault Help](https://quality.veevavault.help/en/lr/34814).

| Attribute | Metadata | Description |
| --- | --- | --- |
| `label` | Type: String Max length: 60 | UI-friendly string in the Vault's base language. |
| `active` | Type: Boolean | Indicates whether the component is active. If the component or subcomponent is inactive, no one in the Vault can edit team membership using this team or *Team Role*. |
| `application_role` | Type: String Max length: 100 | The `id` of the *Application Role* record for the template. |
| `description` | Type: String Max length: 500 | UI-friendly description of the intended use of this automation template for Vault Admins. |
| `security_profile` | Type: Component | Defines the Security Profile to use when creating a user with this template. |
| `username_pattern` | Type: String **Required** Max length: 1500 | Tokenized pattern used to generate a username from the attributes of a Person & their Organization. |

### Supported Operations

| Operation | Support |
| --- | --- |
| Create | Yes |
| Recreate | Yes |
| Alter | Yes |
| Drop | Yes |
| Rename | Yes |
| Describe | Yes |
| Generate Recreate | Yes |
| Queryable | No |

---

**Previous:** [Qmsactionpathconfiguration](/quality/mdl/component-types/qmsactionpathconfiguration)  
**Next:** [Qualitybatchroleassignment](/quality/mdl/component-types/qualitybatchroleassignment)