Thursday, March 22, 2012

windows Domain Logging?

hi,
i want to create an application, which takes the authentication when the user log in to his/her system. It means whenever he opens my web application (after logging in to his windows) he should view only his alloted pages.

how to implement this in .net? Any body having the idea about taking the windows domain login information and processing with web application.

thanking you

v.r.mahendrantry having a look at system.Security.Principal, maybe this can help.
In IIS, set Windows authentication on your virtual directory.

You can then look at the username using User.Identity.Name

0 comments:

Post a Comment