This project has moved. For the latest updates, please go here.
To test from a command prompt type:

C:\>wmic path win32_LocalAdmins

Result:
Member SID Type
Administrator S-1-5-21-1071465504-265602119-1052900283-500 User
MyUser S-1-5-21-1071465504-265602119-1052900283-1000 User

More details: http://myitforum.com/cs2/blogs/rzander/archive/2008/08/12/how-to-create-a-wmiprovider-with-c.aspx

Last edited Feb 15, 2011 at 2:43 PM by rzander, version 3

Comments

No comments yet.