Windows NT Security: Getting User's Group Membership

Hi All,

I am looking for a way to get the groups a user belongs to under
NT. I am aware that there is an API-Call, but I am not familiar with
how to use these data-structures.

Can you help me out?