|
-
Feb 7th, 2005, 05:32 AM
#1
Thread Starter
Addicted Member
Is it Possible? Win Login?
I am building up a intranet development web server at work. Each person has a folder label by their Windows Username. Is it possible to get an ASP.NET (Could be PHP) page to get there Windows Login Username. I have a feeling that the security settings in IIS may stop me but i'm going to ask anyway?
-
Feb 7th, 2005, 06:11 AM
#2
Re: Is it Possible? Win Login?
Code:
string username = HttpContext.Current.User.Identity.Name;
-
Feb 7th, 2005, 07:36 AM
#3
Thread Starter
Addicted Member
Re: Is it Possible? Win Login?
Nope, that doesn't send back anything. Just a NULL string....
-
Feb 7th, 2005, 08:44 AM
#4
Frenzied Member
Re: Is it Possible? Win Login?
I believe you have to disable 'Allow Anonymous Access' on the server.
-
Feb 8th, 2005, 12:10 AM
#5
Re: Is it Possible? Win Login?
We've removed anonymous access, and that's what's used to get the windows logon id.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|