Hi ladies and guys,

I would like to know if there is a way to retrieve Userīs and Groupīs information. For example what Users belongs to a Group.
I verified on the Internet and I saw the WMI (Windows Managment Instrumentation). Is this the only way to do that?
If so, is it compatible to all Windows versions? Where can I find code samples using that?
Thanks, thanks, thanks in advance.

Kind Regards,