I'm trying to get a list of groups the currently logged on user is a member of.
I've tried using GetTokenInformation to get the users SID, and then the Groups SID(s), but I lost it there...
I've also tried NetQueryDisplayInformation, which only returned the non AD Groups... Not sure if I'd have to call it on the Domain Controller, but then again I'd neet to get that info from some other call...
Any hints as to which API Functions to use are highly appreciated.