Search roles
Search for roles in Snowflake.
Options
| Field | Definition | Type | Required |
|---|---|---|---|
|
Result Set |
Choose one of the following options to display your search results:
|
Dropdown | TRUE |
|
Filter |
Choose one of the following filter options to search for roles:
|
Dropdown | FALSE |
Input
| Field | Definition | Type | Required |
|---|---|---|---|
|
Search By |
|||
|
Role Name |
The name of the role. You can use a % or _ in the input field. |
Text | FALSE |
|
Streaming |
|||
|
Flow |
Click Choose Flow to browse and select a helper flow where the search results will be streamed, then click Choose to confirm. Optionally, click the empty field under Click or drop here to create and add custom extensible fields that pass data to the helper flow. These fields are added as key/value pairs under the State output object in the helper flow. This field appears when you select Stream Records from the Result Set field. |
Flow |
TRUE |
|
Record Limit |
Specify the number of records to stream.
|
Number | FALSE |
Output
| Field | Definition | Type |
|---|---|---|
|
Result |
||
|
Name |
The name of the role. |
Text |
|
Comment |
A comment for the role. |
Text |
|
Owner |
The role that owns this role. |
Text |
|
Created On |
The date and time when the role was created. |
Date & Time |
|
Is Default |
If true, the role being fetched is the user's default role. |
True/False |
|
Is Current |
If true, the role being fetched is the user's current role. |
True/False |
|
Is Inherited |
If true, the role used to run the command inherits the specified role. |
True/False |
|
Assigned To |
The number of users who are assigned to this role. |
Number |
|
Granted To |
The number of roles to which this role has been granted. |
Number |
|
Granted Roles |
The number of roles that have been granted to this role. |
Number |
|
Raw Output |
The raw output returned by the Snowflake API. |
Object |
|
Records Streamed |
The number of records streamed in a streaming flow. This field appears when you select Stream Matching Records from the Result Set field. |
Number |
