Kakoroat
asked on
Getting the user's windows Id for a web page
Hello,
Here is my problem. I have .net web project that is used both internally and externally. I'm building a page that is only going to be available internally on the site. When the user goes to that page, I want to capture their windows login id. I'm going to use IP address to restrict access to the page. Now the site does have a login screen (and unfortnately I've inherited) but all the internal users use the same login access because a predicessor didn't want to have to handle granting individual accesses for the internal people.
So how can I (for this single page) get the user's Id but leave the other pages in the site not care about the login credentials?
Does this make sense?
And please don't answer with "force everyone to use individual logins", I tried to get that to happen and was shot down.
One last requirement, the .Net code (if applicable) that gets posted, please be in vb.net (not C#).
Thanks.
Here is my problem. I have .net web project that is used both internally and externally. I'm building a page that is only going to be available internally on the site. When the user goes to that page, I want to capture their windows login id. I'm going to use IP address to restrict access to the page. Now the site does have a login screen (and unfortnately I've inherited) but all the internal users use the same login access because a predicessor didn't want to have to handle granting individual accesses for the internal people.
So how can I (for this single page) get the user's Id but leave the other pages in the site not care about the login credentials?
Does this make sense?
And please don't answer with "force everyone to use individual logins", I tried to get that to happen and was shot down.
One last requirement, the .Net code (if applicable) that gets posted, please be in vb.net (not C#).
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER