The assignment of a default role provides a user with an enabled role at logon. If you do not assign a default role to the user, or if the user wants to enable a different assigned role, the user must submit a SET ROLE request to enable the needed role for a session. See SET ROLE.
- Name of a role (which may include nested roles) to assign as the default role for the user, replacing the previously existing default role if it exists. The specified role must already be granted to the user.
- Indicates that all roles currently granted to the user, including any nested roles, are enabled by default.
- No default role is assigned to the user.
- Removes any previous default role assignment and does not assign a default role to the user.