.NET User Manager

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm attempting to write an ASP.NET page which will list PCs that have users
assigned to the local Administrator group. I have found the tool that I need.
Unfortunately, it is an API and I can not wrap my brain around how to use
APIs. Can someone give me a complete explanation of APIs or, even better, a
..NET counterpart of the NetLocalGroupGetMembers function from the
Netapi32.dll?
 
About WinAPI.

You need import an unmanaged function and make arguments to match .NET
types, for example:

[DllImport("User32.dll")]
static extern Boolean MessageBeep(UInt32 beepType);
 
Back
Top