Hi,

Does anyone know how to determine if some user belongs to some group? I mean that I have user called TestUser and I need to determine if it belongs (or not) to lets say TestGroup.

This is because my program needs to perform different things depending the groups currently logged in user belongs to.

I just realized how misleading my Topic name was... :oops: Now it makes more sense  :D

Thanks in advance,
Sami
Posted on 2005-09-09 11:40:14 by SamiP
I just found an answer to my own question :)

NetUserGetLocalGroups and NetUserGetGroups return local or global groups accordingly, where specified user belongs to.

Posted on 2005-09-09 14:03:30 by SamiP