Networking (LAN Manager) API Sample The NETAPI sample demonstrates how to create a user and a local group and add the user to the local group under Windows NT. The functions used include the ported LAN Manager functions NetGetDCName, NetUserAdd, NetLocalGroupAdd, and NetLocalGroupAddMembers.