Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Determine group membership when using cached account information

11 views
Skip to first unread message

Uwe Sieber

unread,
Apr 18, 2013, 1:59:15 PM4/18/13
to

Hi,

by means of NetUserGetLocalGroups or NetUserGetGroups I can determine
the group membership if the user is logged on locally or at a DC resp.

But when the user logs on without the DC available and therefore uses
'cached account information' then none of them provides the group
membership. Is there a way to determine the user's group membership
in this situation?


Thanks,

Uwe Sieber

Uwe Sieber

unread,
Apr 21, 2013, 12:14:50 PM4/21/13
to

GetTokenInformation(TokenGroups) and then LookupAccountSid
did the trick.

Uwe
0 new messages