Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enumerate Network Users
Message
 
To
15/06/2004 19:46:16
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00914092
Message ID:
00914310
Views:
11
     For "b" I use for few years GPLIB library but this is a commercial one. If you want a "free one" and don't mind use RUN command and search your data in a text file you can RUN NLIST USER /A and then extract your "active" users information.
     For "a" I'm not pretty shure but this MSDN articles may be useful: 190741 - HOWTO: Get User Information Using ADSI and 192766 - SAMPLE: ADSIBrow.exe Browses Active Directory w/ Visual FoxPro

>Hi All
>
>I am looking for a way to enumerate users who are currently logged onto a LAN. I found a Win API that enumerate all user accounts, but cannot find anything that will tell me who is actually logged on:
>a) to a microsoft network
>b) to a novell network
>
>Item "a" is somewhat more important that "b".
>
>Your ideas would be most welcome.
>
>Thanks in advance.
>Don Lowrey
>
>PS: The function has to be ran from a workstation.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform