want to retreive current user name in windwos

al_samirr

New member
Local time
Today, 15:54
Joined
Nov 28, 2006
Messages
4
hi all,
i hope to find solution for my problem.

I want to retreive current user name in windwos.

For example if I have textbox and bottun in a form.
I want if I click the bottun, the user name for windows will be displayed in the textbox.

Please.
 
Code:
Environ("username")

will give you the network username

Col
 
Thank you very very much
That's it.
 

Users who are viewing this thread

Back
Top Bottom