--- title: "qospolicy attach-user" slug: "qospolicy-attach-user" updated: 2026-10-27T17:24:49Z published: 2026-10-27T17:24:49Z canonical: "docs.vastdata.com/qospolicy-attach-user" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.vastdata.com/llms.txt > Use this file to discover all available pages before exploring further. # qospolicy attach-user This command assigns a [user QoS policy](/docs-5-3/docs/en/qos-overview) to a user. ## Usage ```plaintext qospolicy attach-user --id POLICY_ID                      --name USER_NAME                      --fqdn USER_FQDN                      --identifier-type USERID_TYPE                      --identifier-value USERID_VALUE ``` ## Required Parameters | `--id POLICY_ID` | An ID of the QoS policy. | | --- | --- | | `--name USER_NAME` | The name of the user for which the QoS policy will provision VAST Cluster performance. | | `--fqdn USER_FQDN` | The Fully Qualified Domain Name (FQDN) of the user's domain. | | `--identifier-type USERID_TYPE` | The type of a user identifier that you are going to enter in `--identifier-value` to identify the user. Valid values: - `sid_str` for user's Security ID (SID). - `uid` for user's POSIX UID attribute. - `vid` for user's VAST ID. | | `--identifier-value USERID_VALUE` | The user identifier. Enter an identifier of the type specified in `--identifier-type`. | ## Example ```plaintext vcli: admin> qospolicy attach-user --id 4 --name mytestuser --fqdn example.com --identifier-type sid_str --identifier-value ```