currentuser
Operations on a currentuser
resource.
Overview
Name | currentuser |
Type | Resource |
Id | databricks_workspace.iam.currentuser |
Fields
Name | Datatype |
---|---|
id | string |
name | object |
active | boolean |
displayName | string |
emails | array |
entitlements | array |
externalId | string |
groups | array |
roles | array |
schemas | array |
userName | string |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
me | SELECT | deployment_name | Get details about the current method caller's identity. |
SELECT
examples
SELECT
id,
name,
active,
displayName,
emails,
entitlements,
externalId,
groups,
roles,
schemas,
userName
FROM databricks_workspace.iam.currentuser
WHERE deployment_name = '{{ deployment_name }}';