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?
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?