[Vuejs]-How do I display the current Active Directory User in a Vue.js app hosted on IIS?

0👍

You can achieve this by enabling Windows authentication and set your website as local intranet so when user access the website, web browser will send current AD user to trusted intranet automatically. You could also get username from {AUTH_USER}. Without windows authentication, IIS can never get current AD user from client side.

Please remember to enable Automatic logon only in Intranet zone in IE->internet option->Local intranet->custom level…

Leave a comment