NetAPI.pas, een unit met diverse windows netwerk API functies:
  • NetApiBufferFree
  • NetGroupEnum
  • NetGroupGetUsers
  • NetUserEnum
  • NetUserGetGroups

En een aantal wrappers daaromheen:
Delphi Code:
  1. function GetNetGroups(ComputerName: WideString;
  2.   Groups: TStrings): NET_API_STATUS;
  3. function GetNetGroupUsers(ComputerName, GroupName: WideString; Users: TStrings;
  4.   IncludeComputerName, IncludeDisabledUsers: Boolean): NET_API_STATUS;
  5. function GetNetUserGroups(ComputerName, UserName: WideString;
  6.   Groups: TStrings): NET_API_STATUS;
  7. function GetNetUsers(ComputerName: WideString; Users: TStrings;
  8.   IncludeComputerName, IncludeDisabledUsers: Boolean): NET_API_STATUS;
Waar te vinden?