This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re:
- To: gnu-win32 at cygnus dot com
- Subject: Re:
- From: michael at weiser dot saale-net dot de (Michael Weiser)
- Date: Tue, 19 May 1998 05:02:09 GMT
- References: <19980518044002.20796.qmail@hotmail.com>
Hi Abdul,
You wrote:
>The API's we have used are for creation of users and groups on the
>"server machines" only. Please help us to find any API's for
>creation of users and groups on the client machines. So far
>we have used the following API's:
>
>NetUserGetInfo
>NetUserAdd
>NetGroupGetInfo
>NetLocalGroupGetInfo
>NetLocalGroupAddMembers
>NetGroupAddUser
>
>And from Security Functions we have used LookUpAccountName.
All these functions can work on the local machine, too, if you pass a
NULL pointer instead of the server name string. And none of these
functions make a distinction between WinNT Server or Workstation. So
if you pass the name of a WinNT Wks to one of the functions it will
work as expected on that machine. So you don't need any new APIs. ;)
bye
Michael
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".