Forum Discussion

refra_151287's avatar
Jun 26, 2017

APM: Registry Check

Hello, I'm aiming to restrict accessing to our VPN through your machine only....

so I tried to check machine username registry it works for fixed name

"usr1"
, but it doesn't work for session variable as below, So is there any way to use session variables?
"HKEY_CURRENT_USER\Volatile Environment"."USERNAME" = "%session.logon.last.username"

Also is there any way to check the return value of windows registry?, as the information is very poor, it's indicating the result only "success/failed"

3 Replies