Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Novell Netware User
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00103786
Message ID:
00103797
Vues:
20
>I am writing a procedure to perform maintenance functions on tables which are accessed by a FoxPro 2.6 for Windows application. The application and the data are installed on a Novell Netware 4.11 network. Users of the application are asked to close the application before going home for the night but they don't always comply. If the maintenance procedure is unable to open a table exclusively, I would like to be able to log the identity of the user so that he or she may be sent a reminder.
>
>Can anyone suggest how I can identify the user (in FoxPro code)
>
>James McIlwrath
>Mississauga, ON

In the system log-in script of NetWare, you can create DOS environment variables such as SET USERID="%LOGIN_NAME". In the FoxPro app, you can then obtain the user's Novell ID by the following:

cUserID=GETENV("USERID")

No need for third party libraries...

Jack Mendenhall
Reinsurance Management, Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform