Quote Originally Posted by Cat View Post
This would let you access the account names, full names, etc:

How to list all Windows Users- Andreas Kraus: C#, ASP.NET, Silverlight

It basically wraps a WMI object -- to access other properties, you can use this reference:

Win32_UserAccount Class (Windows)

That one gets most of the info you asked about. Not sure about home directory though. You may need to query the UserProfile class:

Win32_UserProfile Class (Windows)
Thank you very very much !!! It completely works.

Now the only problem I got is that I can't seem to find a user's group. I can get all the current users and their names etc, but there's no option to find the group a certain user belongs too. Got a solution for that?