With this code, I bring everything, Domain / User.
ViewBag.User = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
I would like to bring only the username. I can get all that, and get everything that comes after the "/" bar and work with it, but I find that sort of Gambi. I would like to know if there is a way to bring only the name, otherwise I will go the way up (gambi).