Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to read the user enviroment information
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00421857
Message ID:
00422284
Views:
10
>How can i read the user inviroment information from Visual Foxpro 6.0.
>I need it to validate the user from my aplication reading the windows 98 login window information

To get the user's login name:

Declare Integer GetUserName in WIN32API String @, Integer @
UserName=SPACE(20)
GetUserName(@UserName,20)
UserName=UPPER(STRTRAN(UserName,CHR(0),''))
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Previous
Reply
Map
View

Click here to load this message in the networking platform