Get Windows authen in Browser when using streamlit

How can I get Windows username who uses the streamlit app on the browser?

I don’t think there is a simple answer to this. The data path between the user and Streamlit’s Python backend is the browser. Browsers don’t really reach into a computer’s environment. Indeed, that would be a security nightmare! I think you will want to go with some other means of identifying users.