wp user set-role <user> <role>
Sets the user role
Arguments
| Name | Description |
|---|---|
user | User ID, user email, or user login |
role | Make the user have the specified role. If not passed, the default role is used |
Sets the user role
| Name | Description |
|---|---|
user | User ID, user email, or user login |
role | Make the user have the specified role. If not passed, the default role is used |