asp.net + c# -> HttpContext.Current.User + directoryentry
- From: Nicopilami <n.chaussard@xxxxxxxxx>
- Date: Thu, 13 Mar 2008 09:20:10 -0700 (PDT)
Hi everybody
i'm trying to open a directory services connection under the
users' (who is navigating the webpage) credentials, like
impersonation, but i don't succeed, could you help me ?
the problematic line is the following :
DirectoryEntry Ldap = new DirectoryEntry(ConnexionAD,
ADusername, ADpassword);
actually, i would like to retrieve ADusername and ADpassword from
HTTPcontext.current.user becaus the user is authenticated by forms. Is
there a way for doing that ?
thx by advance
Nico
.
- Follow-Ups:
- Re: asp.net + c# -> HttpContext.Current.User + directoryentry
- From: Joe Kaplan
- Re: asp.net + c# -> HttpContext.Current.User + directoryentry
- Prev by Date: RE: SetPrincipalPolicy in ASP.NET
- Next by Date: Re: asp.net + c# -> HttpContext.Current.User + directoryentry
- Previous by thread: SetPrincipalPolicy in ASP.NET
- Next by thread: Re: asp.net + c# -> HttpContext.Current.User + directoryentry
- Index(es):