Environment
NSL7.0.x
SecureLogin Application Definition Wizard
Situation
How to include the domain name in a SecureLogin application definition
How to modify script to use the user and domain instead of just the username
How to manually edit a definition created by SecureLogin Wizard
Login name needs to include the domain name, e.g. user/domain
Resolution
Convert the application definition to text format and edit. Use the the StrCat command.
Steps:
1. In manage logins, go to the definition tab for the application and click the button to “Convert to Application Definition.”
![](https://support.microfocus.com/kb/knova/images/Convert.png)
2. Locate and edit the line where the password is entered. It will look something like the following:
![](https://support.microfocus.com/kb/knova/images/type-username.png)
3. Insert the “StrCat” command into the script.
Syntax should be: StrCat <Variable> <Input-String1> <Input-String2>
StrCat creates a new variable from two input strings. Either or both of the input strings can be variables themselves. Example of a new variable that includes the domain:
StrCat ?newvariable $username “/mydomain”