Subject Trusted authentication with Win 8


On FB 2.5 I have been using trusted authentication for some time but first now with clients on win 8.

At login I show the user his id with System.Security.Principal.WindowsIdentity.GetCurrent().Name

This has always shown the domain qualified name, same as I give the user in FB.

With Win 8 however, the name still displays as before but I get a "Login name too long (39, max allowed 31).

This is becuse FB picks up the Microsoft account login (tommy.baker@...) and not the local account name (mydomain\TOMMYB).

As it nows turns out that email adresses are used also in Corporate enviroments I need to adress this.

Pls also see tracker [#CORE-3962]

Any ideas?