How can I modify the UserName() return string to display only the username as opposed to "i:0#.w|Domain\UserName"?
When I had the same form in my development environment it returned Domain\UserName and none of the prefix characters (i:0#.w|). Once I moved it to the production though I get this now: i:0#.w|Domain\UserName
I am open to using other alternatives as well.