Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Know Who's Using App
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00944210
Message ID:
00944746
Vues:
14
Hi Kevin,

Every time I ask this question, I get the same answer. There is a program you can run, but you must have Network Administrator rights to have access to the data. If you are trying to write this for a user, the only way I know of is to use semiphore tracking. Write the user ID to a table when he logs on and remove it when he exits.

Find the user by
*Who is the user?
declare integer GetUserName in advapi32 String@, Integer@
lcusername = replicate(chr(0),255)
lres = getusername(@lcusername,255)
If lres #0 Then
	messagebox( left(lcusername,at(chr(0),lcusername) -1))
EndIf
HTH
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform