>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
Sys(0) will do some of what you want. I don't know about groups though.
Erik Moore
Clientelligence