Skip to content

Latest commit

 

History

History
26 lines (13 loc) · 579 Bytes

File metadata and controls

26 lines (13 loc) · 579 Bytes

w.current_user: Current User

.. currentmodule:: databricks.sdk.service.iam

.. py:class:: CurrentUserAPI

    This API allows retrieving information about currently authenticated user or service principal.

    .. py:method:: me() -> User


        Usage:

        .. code-block::

            from databricks.sdk import WorkspaceClient

            w = WorkspaceClient()

            me2 = w.current_user.me()

        Get details about the current method caller's identity.


        :returns: :class:`User`