Windows Security and retreiving User Principal Name (UPN)
I'm using Windows security on a NetTcp binding. I'm developing client application (not a network service) that will typically run the user's domain or local account.
From what I understand, from entries likehttp://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=434681&SiteID=1, I will need to provide the UPN for Kerberos to perform authentication.
I find it surprising that I need to provide the UPN identity to be used in the formuser@domain. I'd like to use the UPN corresponding user's domain account -- is there an easy way to determine the user's UPN, other than hitting active directory?
I looked around, and the username provided bySystem.Security.Principal.WindowsIdentity.GetCurrent() is of the NetBIOS form domain\name, and it does not use the full domain name.
Any help would be appreciated... Thanks!

