Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More about NT commands (To Robert Horkay)
Message
From
13/03/1998 12:19:34
 
 
To
13/03/1998 09:02:50
General information
Forum:
Windows
Category:
API
Miscellaneous
Thread ID:
00084416
Message ID:
00084491
Views:
34
>Thank you Robert for your help about "Send Message",
>
> Now you maybe can help me in others questions.
>I'm writing a program that list all users from a
>NT Domain in a ComboBox, in another Combo I fill
>with groups for each user. I did this using two BATs:
>
>*** USERS.BAT create a list of all users
>NET USER /DOMAIN > USERS.TMP
>
>*** DETAILS.BAT create a file with Full Name
>*** Comment and groups that user belongs
>
>NET USER %1 /DOMAIN > DETAILS.TMP
>
>I open these files in low level and get all informations
>that I need. My question is: There is a more simple way
>using API?

Yes, all of these are available through the API's, but it is a bit above me at the time. Check out some VB books that deal with the API, specifically "Visual Basic Programmer's Guide to the WIN32API" by Daniel Appleman, Chapter 22 of the accompanying CD-ROM ( but not covered in the printed book !) contains some network functions.

Some parts of the NT API require licensing w/ M$, Specifically the SAM database...I'm always jealous of applications that validate a password against the user's network password on NT ( DB2, remotely possible etc...)

HTH

Robert Horkay
Previous
Reply
Map
View

Click here to load this message in the networking platform