View Full Version : Variables
%CurrentUser% would be a useful variable
Hi MMG,
You are right this could be a very useful built-in variable. By Current User you mean the Username of the currently logged in user, correct?
I know that on Windows 2000 this information can be found here in the registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Logon User Name
mark.
You can also find it at:
HKLM\software\microsoft\windowsnt\current value\winlogon\defaultuser\name for NT3.51
or.....
HKLM\networ\logon\username
for IE4 based systems
or.....
HKLM\system\current controlset\control\current user
for IE5 based systems
Therefore I'm sure that a %currentUser% variable would be simpler!
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.