I'm trying to display the name of company employees on an intranet portal. To use as a greeting, for example, Hello "So-and-so."
The way I got closer was through asp using the code below:
<%= HttpContext.Current.User.Identity.Name%>
But you only get the domain and the username like this: Domain \ 873059 which is the employee's RE, but I want you to get the name that appears in the start menu for example "Fulano da Silva".