python - How to get windows user id in web2py for an intranet application? -


I am using web2py for intranet site and need to get the current login window user id in my controller. Is there a function available?

You must install an NTLM authentication module on your web server such as mod_sspi or mod_ntlm then requesting the REMOTE_USER Check the environment variables. Here's something similar in Django:


Comments