Custom Script - pass %LogonName% through to batch file?

Custom Script - pass %LogonName% through to batch file?

Is there a way to pass the %LogonName% of the user I am creating on to the batch file using the custom script? I see the example in the Custom Script area, where it says to use %username%. I have tried that, but get these results (creating user testuser):

Successfully created the user; Script Execution :" C:\Program Files\AdventNet\ADManager Plus\bin>echo Username is ADManagerService Username is ADManagerService "


So, it see's %username% as the service account that is running ADManager, not the user I just created. Any way to do this?




                  New to ADSelfService Plus?