www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/20/01:47:43

From: michael AT weiser DOT saale-net DOT de (Michael Weiser)
Subject: Re:
20 May 1998 01:47:43 -0700 :
Message-ID: <3564124c.885433.cygnus.gnu-win32@mail>
References: <19980518044002 DOT 20796 DOT qmail AT hotmail DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019