FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Active Directory
Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Active Directory
Posted: Wed Sep 26, 2007 08:23 PM

Does anybody know how to get the user name from active directory in FiveWin?

Thanks,

Byron Hopp

Matrix Computer Services
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Active Directory
Posted: 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

Posts: 408
Joined: Sun Nov 06, 2005 03:55 PM
Active Directory
Posted: Thu Sep 27, 2007 06:06 AM

Thank you, I will give this a try.

Byron...

Thanks,

Byron Hopp

Matrix Computer Services

Continue the discussion