Fastream Technologies wrote: > I need to query the username's (as gotten from USER command) home > folder >> from AD.
Have you already tried SHGetSpecialFolderLocation() after LogonUser() ImpersonateLoggedOnUser()? If that doesn't work have a look at the User and Group functions among the Network Management Functions: http://msdn2.microsoft.com/en-us/library/aa370675.aspx -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html > > Clear? > > Best Regards, > > Sz > > ----- Original Message ----- > From: "Arno Garrels" <[EMAIL PROTECTED]> > To: "ICS support mailing" <twsocket@elists.org> > Sent: Tuesday, August 21, 2007 1:02 PM > Subject: Re: [twsocket] Fw: Can one get the home > folderofanuserfromActiveDirectory? > > >> Fastream Technologies wrote: >>> I do not think you see my point at all... I do NOT want to get the >>> home folder of the service account user's. I need to input the >>> username from the USER command in TO the ActiveDirectory. >> >> What means "input the user name in To the ActiveDirectory"? >> >> -- >> Arno Garrels [TeamICS] >> http://www.overbyte.be/eng/overbyte/teamics.html >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto http://www.elists.org/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be