Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

How to get full name ie first name and last name of user using Windows Authentication?

$
0
0

Hi, currently I am able to get the username ie DOMAIN\USERNAME using the following:

@User.Identity.Name

@WebSecurity.CurrentUserName

@Request.ServerVariables["AUTH_USER"]

How can I get the FULL NAME of the user from windows authentication?


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>