RoleName Parameter (Connect-Snowflake Cmdlet)
Specifies the role assigned to the Snowflake user during authentication. This property determines the access privileges and permissions the user has when executing queries and managing resources in Snowflake.
Syntax
Connect-Snowflake -RoleName string
Data Type
cstr
Default Value
""
Remarks
The default roles in Snowflake are: PUBLIC, SYSADMIN, or ACCOUNTADMIN.
- PUBLIC: Basic read-only access for most users.
- SYSADMIN: High-level access for managing databases, schemas, and objects.
- ACCOUNTADMIN: Full administrative privileges, including user and account management.