Skip to content

Function: getCurrentUserName()

getCurrentUserName(client?): Promise<string>

Current Databricks username for workspace home paths (/Workspace/Users/<userName>).

Prefers userName on the AppKit execution context when set, otherwise calls currentUser.me() on client (or getWorkspaceClient).

WorkspaceClient

Promise<string>