RoleName
- Last Updated: August 11, 2022
- 1 minute read
- DataDirect Connectors
- JDBC
- Snowflake 6.0
- TeamCity 6.0
- Documentation
Purpose
Specifies the default role to use for access control in the Snowflake session initiated by the driver. The specified role should be an existing role that has already been assigned to the specified user. If the specified role has not already been assigned to the user, the role is not used when the session is initiated by the driver.
Valid Values
string
where:
string
is name of the default role to use for access control.
Notes
-
The USE ROLE command can be executed to set a different role for the session.
-
The Role property is an alias for the RoleName property.
Data Source Methods
public String getRoleName()
public void setRoleName(String)
Default Value
No default value
Data Type
String