Hello!
I'm developing an intranet application using VWD2005. Webserver's running under W2000 prof. with it's IIS.
Evry user using W2000 prof. & we've an active directory & proxy servers. There are 3 groups of users with different premission. I don't want to make a new login procedure, I think the best solution would, if I get the user's windows login name & grant the premission.
(how) Could I get the this login name?
I tried this:
WindowsPrincipal
wp = new WindowsPrincipal(WindowsIdentity.GetCurrent());
Label1.Text = wp.Identity.Name;
I always receive EGPQK0051O1E5BV\ASPNET wich is Intrernet guest account\ASP.NET machine account.
IIS configuration:
Anonymus access Disabled
Basic authentication Enabled
Digest & Integrated Windos Auth. Disabled.
Thanks in advance : Jaccso