Auth Context
The Auth Context API allows Core+ Python workers to get authenticated and effective user names. The API uses the correct context at both the query and component level when using a deephaven.ui component (see Create interactive, real-time browser dashboards with deephaven.ui for more information).
Usage
From deephaven_enterprise, import auth_context. This includes the get_authenticated_user and get_effective_user properties.