want to retreive current user name in windwos (1 Viewer)

al_samirr

New member
Local time
Today, 12:50
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.
 

ColinEssex

Old registered user
Local time
Today, 20:50
Joined
Feb 22, 2002
Messages
9,133
Code:
Environ("username")

will give you the network username

Col
 

al_samirr

New member
Local time
Today, 12:50
Joined
Nov 28, 2006
Messages
4
Thank you very very much
That's it.
 

Users who are viewing this thread

Top Bottom