How To Create and Manage User Accounts Programmatically (119671)
The information in this article applies to:
- Microsoft Win32 Software Development Kit (SDK) for Windows NT
This article was previously published under Q119671 SUMMARY
Windows NT and the Windows NT Advanced Server use the same APIs that
Microsoft LAN Manager uses to create and maintain user- and group-account
information. For example, to create a new global group, use NetGroupAdd().
To create a new user, use NetUserAdd(). To add the user to the global
group, use NetGroupAddUser(). Local groups are created by using
NetLocalGroupAdd() and members are added to local groups by using
NetLocalGroupAddMember().
REFERENCES
In the Win32 SDK, version 3.1, the documentation for the ported LAN Manager
APIs is available in the file LMAPI.HLP on the SDK CD. In the installed
Win32 SDK, version 3.5, the ported LAN Manager APIs are documented in the
Help file "Win32 API Reference".
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbAPI kbhowto kbnetwork KB119671 |
---|
|