Hi @GMB , It seems like youโre trying to capture the User ID and Username in the history tab of a notebook after executing some SQL code.
Typically, the User ID and Username are captured when changes are made via the User Interface (UI), as these changes are associated with a user action. However, when you execute code within a notebook, the changes are made by the system, not a specific user, so the User ID and Username might not be automatically captured.
To capture this information, you might need to manually add code to log the User ID and Username along with the changes. For example, you could modify your code to include logging statements that record the User ID and Username each time a change is made.
However, this behaviour can vary depending on the specific notebook environment youโre using. If youโre using Databricks, for instance, you might be able to retrieve some information about the n....
This could potentially include the User ID and Username, depending on the specific context attributes available in your environment.