>Is there a way, such as an API function, to determine within a VFP application whether a user is a member of a given group?
>
>The workstations are Windows XP and Windows 2000. Currently the servers are NT 4.0 with SP 6a.
>Thanks,
>Spencer
Hi Spence,
You might find the following easier.
oUser = GetObject("WinNT://Domain/username,user")
For Each oGroup In oUser.Groups
? oGroup.Name
Next oGroup
Change Domain and UserName for your users e.g. for me:
oUser = GetObject("WinNT://US_DOI/hbrennan,user")
censored.