Current group version of Win32 GetUserNameA()?

61 views Asked by At

Is there a Win32 API to obtain the current user's group, i.e. the group analog to GetUserNameA()?

For example we want to switch the current group for an user in Cygwin via /usr/bin/newgrp, and then a native (non-Cygwin) application should see this change.

P.S.: What is the correct Win32 terminology for the user's current group - "primary group"?

0

There are 0 answers