How to get CURRENT LOGGED user info ?

Aquí puedes preguntar o compartir tus dudas y conocimientos acerca del programa
How to get CURRENT LOGGED user info. (from Registry or other way)
Only the "username", and show it in INPUTBOX object (result).
Pls help...

Abood ;)
If we use -- System.GetUserInfo : The result is registered owner of the system.
The result is the OWNER of the system (O.S. INSTALLER)
If you log in to another system ACC the result is THE SAME (REG. OWNER)...
I use: WinApi funct. but the result is the same :)

I use this : (WinAPi funct.) is the same like your decision:
--function OSInfo()
-- tOSInfo = {};
-- tOSInfo.RegOwner = System.GetUserInfo().RegOwner;
-- end
--OSInfo();
--Input.SetText("Input2", tOSInfo.RegOwner);

PLS give me your example to test...
Best regards Abood.

Ok Look at this dll :


HIDE: ON
Hidebb Message Hidden Description


Good luck :)

ya veremos
Let us see :)

:yes: Good

Someone solved "How to get CURRENT LOGGED user info" ?
:focus:

Abood, you think about it?
Do you think that it takes the current WIN REGISTRY result is appropriate?
What happens if there is a difference in operating systems (Win XP, Win 7, Win 8)
However, a different WIN addressing REG.
Whether it is correct result?
I just give an idea :)
tadaaaaa... :yeah:

thanks

check...

thanks
Gracias
gracias