Steve, Thanks for your answer.
I'll check it ASAP.
Regards,
J.Philippe
"Steve Jansen" <stj3571-> a écrit dans le message de news:
...
> I would check out references about using ADSI to query the NT4 SAM.
>
> That information will describe the schema and permissions for the
> "Winnt://" directory service moniker that you need to use the
> System.DirectoryServices classes.
>
> VBScript ADSI code might look like this:
>
> Dim User
> Set User = GetObject("WinNT://" & strDomain & "/" & strUser & ",user")
> Response.Write User.Fullname
>
>
> Homer J. Simpson wrote:
>
> > Hi there,
> >
> > I'd like to get a full SAM user's profile, while connecting to my
Intranet
> > Site.
> > Authentication mode is set to Windows(Integrated) and i'm actually
playing
> > with System.DirectoryServices to query the SAM
> >
> > My question is : Is there a way to get a full user profile (ie
:fistname,
> > lastname, phone, ...) WITHOUT knowing the user's password.
> > As you may guess, the only known information to me is given by
> > Request.ServerVariables("AUTH_USER")
> > Should i access the SAM with an adminsitator ID and pwd to do this ?
> > Where to begin ?
> > Any help would be appreciated.
> >
> > Thanks in advance,
> > Regards
>