w.current_user: Current User¶
- class databricks.sdk.service.iam.CurrentUserAPI¶
This API allows retrieving information about currently authenticated user or service principal.
- me([, attributes: Optional[str], excluded_attributes: Optional[str]]) User¶
Usage:
from databricks.sdk import WorkspaceClient w = WorkspaceClient() me2 = w.current_user.me()
Get details about the current method caller’s identity.
- Parameters:
attributes – str (optional) Comma-separated list of attributes to return in response.
excluded_attributes – str (optional) Comma-separated list of attributes to exclude in response.
- Returns: