Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi,
I am trying to access the individual user's username in a Python recipe.
username = getpass.getuser()
It returns an admin type of username. How can I access the correct username of the actual individual?
Operating system used: Windows 10
import dataiku
client = dataiku.api_client()
username = client.get_auth_info()['authIdentifier']
import dataiku
client = dataiku.api_client()
username = client.get_auth_info()['authIdentifier']
Thank you for sharing your solution with the community @info-rchitect!