Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / April 2005

Tip: Looking for answers? Try searching our database.

.NET User Manager

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stipto - 22 Apr 2005 14:39 GMT
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?
gaidar - 23 Apr 2005 10:45 GMT
You'd better use WMI. (See in MSDN Windows Management Instrumentation).

> I'm attempting to write an ASP.NET page which will list PCs that have
> users
[quoted text clipped - 5 lines]
> .NET counterpart of the NetLocalGroupGetMembers function from the
> Netapi32.dll?
gaidar - 23 Apr 2005 10:48 GMT
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);

> I'm attempting to write an ASP.NET page which will list PCs that have
> users
[quoted text clipped - 5 lines]
> .NET counterpart of the NetLocalGroupGetMembers function from the
> Netapi32.dll?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.