ALTER USERS command
See the following article for more information:
The ALTER USERS command allows you to change a single attribute to a list of users. It is possible to change one of the following fields per command:
- Display name
- Authentication method
- User type: CLIENT or MEMBER
- Highest permitted access
ALTER USERS emails_list (DISPLAY NAME "name"|AUTHENTICATE WITH "Authentication Method"|CLIENT|MEMBER);
In the above example, replace Authentication Method with either your pwhash, Google, or your organization's custom OAuth/SAML provider.
The emails_list argument can be a list of quoted, comma-separated emails or RFC2822-formatted emails (e.g., emails To: header).
Examples
Altering the authentication method to use Google:
ALTER USERS "Paul Taylor <paul.taylor@example.com>, Dorothy Thomas <dorothy.thomas@example.com>" AUTHENTICATE WITH "Google";
Altering the display name:
ALTER USERS "margaret.anderson@example.com" DISPLAY NAME "Margaret Anderson";
Altering the user type to client:
ALTER USERS "example@example.com" CLIENT;
Altering the highest permitted access:
ALTER USERS "example@example.com" highest permitted access editor;