1.7 Reading from and Writing to Variables

Application definition commands can read from and write to variables. These variables enable SecureLogin to use corporate application definitions, while each individual user's secrets are securely stored in the directory. It is also possible to read attributes, such as the user's full name and phone number, from attributes in the directory.

SecureLogin not only writes information to the screen, but also reads from it with the use of commands such as ReadText. Use this to extract usernames, domains in use, error messages, and other useful information. Use Variable Manipulator commands to perform calculations, break apart information, and join it back together again.

All these features come together to form an extremely powerful language that is able to accomplish almost any task that is required.

1.7.1 Using Characters Interpretable by Novell SecureLogin

Using interpretable characters in Novell SecureLogin application definitions has implications for definitions that are created in, or copied from, and pasted from a Microsoft Word.

For example, when you are writing an application definition that requires a “-” (dash) in the command syntax, make sure you use a short "–" or en dash (Unicode glyph U+2013 (Hex) or 8211(Decimal) and cannot be an extended "—" or em dash as generated in Microsoft Word.

In Microsoft Word, when you type a space and one or two hyphens between text, Microsoft Word automatically inserts an ASCII dash or en dash ( – ). If you type two hyphens and do not include a space before the hyphens, an em dash ( — ) is created.

Similarly, when you are writing an application definition that requires quotation mark in the command syntax, make sure you use a straight quotation mark (Unicode glyph U+0022 (Hex) or 0034 (Decimal) or the ASCII printable character 34). For quotation mark syntax example, see Section 4.3.7, Quotation Marks.

In Microsoft Word, when you type a question mark, Word automatically changes straight quotation marks to curly (or smart) quotes, as you type unless the Word AutoCorrect, AutoFormat As You Type features are disabled.