In python Webapp pass global variable of person logged in and interacting with the app

jordan_sklansky
jordan_sklansky Registered Posts: 6

Hi Everyone,

I did look through existing discussions and I have not see exactly the answer I'm looking for. Either in a python notebook, and by extension a python Webapp, I would like to grab the DSS user id that is currently logged in and interacting with the webapp in a variable.

My use case, is I created a webapp where someone can interact with a row of data from an existing table, and I want to pass their user id as a variable into a column in the psycopg insert statement so when I add a record of the row in a new table, I have a record of who did it.

Any help appreciated!!!

Thanks,

Jordan

Best Answers

Answers

Setup Info
    Tags
      Help me…