Active Directory

Active Directory

Postby byron.hopp » Wed Sep 26, 2007 8:23 pm

Does anybody know how to get the user name from active directory in FiveWin?
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA

Postby Rick Lipkin » Wed Sep 26, 2007 11:10 pm

Bryon

I find this works because it looks at the credentials of the workstation profile. In Microsoft the workstation profile and the AD network id should be the same and syncronized..

Works from Win98 thru Vista

xLOGIN := WNetGetUser() // FiveWin function

Rick Lipkin
SC Dept of Health, USA
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Active Directory

Postby byron.hopp » Thu Sep 27, 2007 6:06 am

Thank you, I will give this a try.

Byron...
Thanks,
Byron Hopp
Matrix Computer Services
byron.hopp
 
Posts: 382
Joined: Sun Nov 06, 2005 3:55 pm
Location: Southern California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 79 guests