Click here to Skip to main content
15,905,325 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Need Help Pin
Not Active11-Sep-09 6:10
mentorNot Active11-Sep-09 6:10 
AnswerRe: Need Help Pin
Abhishek Sur11-Sep-09 8:10
professionalAbhishek Sur11-Sep-09 8:10 
AnswerRe: Need Help Pin
N a v a n e e t h13-Sep-09 6:25
N a v a n e e t h13-Sep-09 6:25 
GeneralRe: Need Help Pin
droth1714-Sep-09 2:10
droth1714-Sep-09 2:10 
QuestionPost Back Pin
ellllllllie11-Sep-09 4:45
ellllllllie11-Sep-09 4:45 
AnswerRe: Post Back Pin
tagyurit11-Sep-09 5:53
tagyurit11-Sep-09 5:53 
AnswerRe: Post Back Pin
Abhishek Sur11-Sep-09 6:02
professionalAbhishek Sur11-Sep-09 6:02 
QuestionHow to get logged on user (Windows Authen/Active Direct) Pin
Shameegh Boer11-Sep-09 4:26
Shameegh Boer11-Sep-09 4:26 
Hi.

Hoping you guys can help me, and more importantly, the message I'm typing actually conveys my problem. I've come across a few forums where guys having my same problem, being answered in the way we don't want to.

My intranet website currently uses session variables and cookies to authenticate user. I would like to use the Active Directory login details of the user to gain access to the intranet. Now, to gain access to a PC, a user needs to login using his AD un and pwd, so surely the logged on user should be known somewhere.

So instead of using sessions and cookies, I want the user currently logged details, and directly log on to my intranet website. So I don't need to prompt the user again for details.

I think a step in the right direction would be to at least get the logged on user.

System.DirectoryServices DirectoryEntry and -Searcher doesn't really get you the logged on user. You can use these to search and add entries, but ya, they still don't provide me with the currently logged on user.

Going to IIS and Disabling anonymous access, and setting Integrated security. Kinda helps, but then my users still get prompted for a username and password. And yaaa, once again, I don't want that pop-up, because the user already needed to logon to the PC using his/her AD details, why can't IIS just use that.

And Lastly.

WindowsPricipal and Context.User.Identity.Name.... well, they only get set once the user logs in on that IIS popup I mentioned early, or simply not display anything when anonymous access is allowed.

I guess a short version is...
How do I plug my intranet into my active directory, without prompting the user for details again.

Hope my problem is stated clearly.

Thanks
AnswerRe: How to get logged on user (Windows Authen/Active Direct) Pin
tagyurit11-Sep-09 5:19
tagyurit11-Sep-09 5:19 
AnswerRe: How to get logged on user (Windows Authen/Active Direct) Pin
Md. Marufuzzaman11-Sep-09 5:30
professionalMd. Marufuzzaman11-Sep-09 5:30 
AnswerRe: How to get logged on user (Windows Authen/Active Direct) Pin
Beyondard11-Sep-09 6:59
Beyondard11-Sep-09 6:59 
GeneralRe: How to get logged on user (Windows Authen/Active Direct) Pin
Shameegh Boer13-Sep-09 20:42
Shameegh Boer13-Sep-09 20:42 
GeneralRe: How to get logged on user (Windows Authen/Active Direct) Pin
Shameegh Boer22-Sep-09 21:45
Shameegh Boer22-Sep-09 21:45 
GeneralRe: How to get logged on user (Windows Authen/Active Direct) Pin
Shameegh Boer22-Sep-09 20:51
Shameegh Boer22-Sep-09 20:51 
QuestionThe operation has timed out for simple Web request. Pin
Vilas Dilip Patil11-Sep-09 4:06
Vilas Dilip Patil11-Sep-09 4:06 
AnswerRe: The operation has timed out for simple Web request. Pin
sashidhar11-Sep-09 5:51
sashidhar11-Sep-09 5:51 
AnswerRe: The operation has timed out for simple Web request. Pin
Abhishek Sur11-Sep-09 8:15
professionalAbhishek Sur11-Sep-09 8:15 
QuestionRemoting in ASP.net 2.0 Pin
slimtugo11-Sep-09 3:24
slimtugo11-Sep-09 3:24 
AnswerRe: Remoting in ASP.net 2.0 Pin
Manas Bhardwaj11-Sep-09 3:33
professionalManas Bhardwaj11-Sep-09 3:33 
QuestionPersist a controls view state in masterpage Pin
tonymathewt11-Sep-09 3:11
professionaltonymathewt11-Sep-09 3:11 
AnswerRe: Persist a controls view state in masterpage Pin
r a m e s h11-Sep-09 3:22
r a m e s h11-Sep-09 3:22 
QuestionNeed to delete row in gridview but must not affect that row in the database. Pin
renoma11-Sep-09 2:10
renoma11-Sep-09 2:10 
AnswerRe: Need to delete row in gridview but must not affect that row in the database. Pin
Meetu Choudhary11-Sep-09 2:17
Meetu Choudhary11-Sep-09 2:17 
AnswerRe: Need to delete row in gridview but must not affect that row in the database. Pin
Md. Marufuzzaman11-Sep-09 4:17
professionalMd. Marufuzzaman11-Sep-09 4:17 
QuestionRemove items from generic list Pin
yesu prakash11-Sep-09 1:52
yesu prakash11-Sep-09 1:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.