Upper case from System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString()?

Posted by chris on Stack Overflow See other posts from Stack Overflow or by chris
Published on 2010-04-05T19:03:50Z Indexed on 2010/04/05 21:13 UTC
Read the original article Hit count: 151

Filed under:

I hope this isn't oo trivial question, but when I call System.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString() I'm getting back a lower case user ID, but other dev's are getting an upper case user ID. How can I force ystem.Security.Principal.WindowsIdentity.GetCurrent().Name.ToString() to return an upper case string?

© Stack Overflow or respective owner

Related posts about c#