On 03/20/2013 05:19 PM, Xavier Roche wrote:
> Is there any reason why NetUserGetGroups() is not returning all groups
> whose user is member of ?
More precisely, NetUserGetGroups() does only return global groups, not
"subgroups" within these groups. The NetUserGetLocalGroups() function
has a LG_INCLUDE_INDIRECT flag which can be used to retrieve indirect
groups, but not NetUserGetGroups().
I suppose going through the AD is mandatory to achieve this goal ?