Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WhoAmI?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00062580
Message ID:
00062590
Vues:
26
>Does anyone know of a class to determine a users LOGIN name on a Novell Netware server? I need to construct a parametized view based on the user logged in.

Colin,

A really quick and dirty way is to set the login name to an environment variable in the login script and then read this value inside your VFP app.

In the login sript...

SET USER="%LOGIN_NAME"

In your code...

gcUser = getenv("USER")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform