5
With this code, I bring everything, Dominio/User.
ViewBag.User = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
I would like to bring only the user name. I can take all this, and take everything that comes after the "/" bar and work with it, but I think it’s kind of Gambi. I wonder if there is how to bring only the name straight, otherwise I will go the way up(Ambi).
I don’t see how you can go rogue. You just want some of the information.
– Tiago César Oliveira