Is there a way to set default roles to all user that belong to specific role ?
I can manually alter the role to default for one user at a time, but it is time consuming and people come and go.
Is there a way to set default roles to all user that belong to specific role ?
I can manually alter the role to default for one user at a time, but it is time consuming and people come and go.
To answer your question directly: Setting the default role for multiple users within one statement isn't possible. It isn't possible to mention multiple users within one single ALTER USER-statement: https://docs.snowflake.com/en/sql-reference/sql/alter-user.html
Alternative solutions are:
Kind regards :-)