Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the user login id in a Novell environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00084658
Message ID:
00084768
Vues:
26
>Hi,
>
>I'm looking for suggestions to get the logged-on user I.D. in a Win 95 environment/Novell client 32.
>
>I've used GPLIB for years in DOS, and am finding the VFP5 version too finicky (it works on some workstations and not others though all the required files/dates are present).
>
>I currently am echoing the DOS SET environment to a file and reading/extracting the info from there, which I find tacky, and is not very secure.
>
>TIA
>
>Also... just a footnote...
>For those of you that remember or responded to one of my previous cries for help re the error 'Too many files open'...
>Turned out it was due to my original non standard installation of Win 95/ Novell, where I loaded Novell VLMs in DOS and logged in before starting Win 95. The problem disappeared when I broke down and installed Client 32.

Ashley,
Try "GetUserName" function in Win32API Help. This will return the currently logged on user name as a string.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform