NetAPI.pas, een unit met diverse windows netwerk API functies:
- NetApiBufferFree
- NetGroupEnum
- NetGroupGetUsers
- NetUserEnum
- NetUserGetGroups
En een aantal wrappers daaromheen:
Waar te vinden?Delphi Code:
function GetNetGroups(ComputerName: WideString; Groups: TStrings): NET_API_STATUS; function GetNetGroupUsers(ComputerName, GroupName: WideString; Users: TStrings; IncludeComputerName, IncludeDisabledUsers: Boolean): NET_API_STATUS; function GetNetUserGroups(ComputerName, UserName: WideString; Groups: TStrings): NET_API_STATUS; function GetNetUsers(ComputerName: WideString; Users: TStrings; IncludeComputerName, IncludeDisabledUsers: Boolean): NET_API_STATUS;
- Op de VCS-server, zie: http://svn.nldelphi.com/nldelphi/opensource/ngln/
Bookmarks