Download my Pointers Class from the Files section. It provides an example (in the Help file) on how to retrieve the local groups for a user on NT. Very similar code can be written if you need the global groups.
Vlad
>Is there any easy way to check from Visual Foxpro the username and groups belonged to of a user logged on to an NT network?. When a user is logged on to an NT network, I need to be able to check the username of the person logged on, and to know whether that person is, for example, a GUEST, an ADMINISTRATOR, etc. I can find the username by searching the registry, but is there any direct WIN32 function? Thanks for any help!
>
>Peter
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only