Hier ist der Code den ich suchte

AppDomain.CurrentDomain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrinci
pal);

WindowsIdentity ident = WindowsIdentity.GetCurrent();
WindowsPrincipal user = new WindowsPrincipal(ident);

AuthUser.Text = user.Identity.Name.ToString();
AuthType.Text = user.Identity.AuthenticationType.ToString();


Danke f�r jede Hilfe
Hannes

| [aspdedotnet] als [email protected] subscribed
| http://www.dotnetgerman.com/archiv/aspdedotnet/ = Listenarchiv
| Sie k�nnen sich unter folgender URL an- und abmelden:
| http://www.dotnetgerman.com/listen/aspDEdotnet.asp

Antwort per Email an