Viewing docs for Databricks v0.4.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Databricks v0.4.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Exported attributes
Data source exposes the following attributes:
id- The id of the calling user.external_id- ID of the user in an external identity provider.user_name- Name of the user, e.g.mr.foo@example.com.home- Home folder of the user, e.g./Users/mr.foo@example.com.repos- Personal Repos location of the user, e.g./Repos/mr.foo@example.com.alphanumeric- Alphanumeric representation of user local name. e.g.mr_foo.workspace_url- URL of the current Databricks workspace.
Related Resources
The following resources are used in the same context:
- End to end workspace management guide
- databricks.Directory to manage directories in Databricks Workpace.
- databricks.Notebook to manage Databricks Notebooks.
- databricks.Repo to manage Databricks Repos.
Using getCurrentUser
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCurrentUser(opts?: InvokeOptions): Promise<GetCurrentUserResult>
function getCurrentUserOutput(opts?: InvokeOptions): Output<GetCurrentUserResult>def get_current_user(opts: Optional[InvokeOptions] = None) -> GetCurrentUserResult
def get_current_user_output(opts: Optional[InvokeOptions] = None) -> Output[GetCurrentUserResult]func GetCurrentUser(ctx *Context, opts ...InvokeOption) (*GetCurrentUserResult, error)
func GetCurrentUserOutput(ctx *Context, opts ...InvokeOption) GetCurrentUserResultOutput> Note: This function is named GetCurrentUser in the Go SDK.
public static class GetCurrentUser
{
public static Task<GetCurrentUserResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetCurrentUserResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetCurrentUserResult> getCurrentUser(InvokeOptions options)
public static Output<GetCurrentUserResult> getCurrentUser(InvokeOptions options)
fn::invoke:
function: databricks:index/getCurrentUser:getCurrentUser
arguments:
# arguments dictionarygetCurrentUser Result
The following output properties are available:
- Alphanumeric string
- External
Id string - Home string
- Id string
- The provider-assigned unique ID for this managed resource.
- Repos string
- User
Name string - Workspace
Url string
- Alphanumeric string
- External
Id string - Home string
- Id string
- The provider-assigned unique ID for this managed resource.
- Repos string
- User
Name string - Workspace
Url string
- alphanumeric String
- external
Id String - home String
- id String
- The provider-assigned unique ID for this managed resource.
- repos String
- user
Name String - workspace
Url String
- alphanumeric string
- external
Id string - home string
- id string
- The provider-assigned unique ID for this managed resource.
- repos string
- user
Name string - workspace
Url string
- alphanumeric str
- external_
id str - home str
- id str
- The provider-assigned unique ID for this managed resource.
- repos str
- user_
name str - workspace_
url str
- alphanumeric String
- external
Id String - home String
- id String
- The provider-assigned unique ID for this managed resource.
- repos String
- user
Name String - workspace
Url String
Package Details
- Repository
- databricks pulumi/pulumi-databricks
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
databricksTerraform Provider.
Viewing docs for Databricks v0.4.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
