From: michael@weiser.saale-net.de (Michael Weiser)
Subject: Re:
20 May 1998 01:47:43 -0700
Message-ID: <3564124c.885433.cygnus.gnu-win32@mail>
References: <19980518044002.20796.qmail@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: gnu-win32@cygnus.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".
