Given a username I need a list of groups that the user belongs to. This is on a network managed by an NT Server set up as a primary domain controller.<br>
<br>
The function NetUserGetGroups does exactly what I want: given a PDC name and a user name it returns a list of groups that the user belongs to. (For details see "Call LanMan Servics from a 32-bit Visual Basic Application" on MSDN.) The fly in the ointment, of course, is that this only works if the code is executed on an NT or Win2K machine. It fails with the message "Entry point not found" when called from a Win95/98 machine.<br>
<br>
So the question is: How can I get this information from the PDC when I'm running on a Win95/98 machine?<br>
<br>
The function NetUserGetGroups does exactly what I want: given a PDC name and a user name it returns a list of groups that the user belongs to. (For details see "Call LanMan Servics from a 32-bit Visual Basic Application" on MSDN.) The fly in the ointment, of course, is that this only works if the code is executed on an NT or Win2K machine. It fails with the message "Entry point not found" when called from a Win95/98 machine.<br>
<br>
So the question is: How can I get this information from the PDC when I'm running on a Win95/98 machine?<br>