Policy Guide › Editing Policies in the Administration Console › User Definitions
User Definitions
User definitions, also known as 'replaceable strings' are variables that can be referenced by any settings in the current user policy that have a text value (for example, trigger names, address lists, search text lists, messages to users). For example, you can define a 'Disclaimer' user definition and reference this as %Disclaimer% in any Trigger Name setting.
To set up a user definition
- Open the policy you want in the Administration console.
- In the Policy Editor screen, browse to the System Settings folder.
- In the Definitions policy folder, select the User Definitions setting and the User Definition you want to configure.
- Enter a name for the user definition, such as 'Disclaimer'.
Note: This name is case sensitive and must not contain spaces or a percentage symbol (%).
- Enter a value for the definition, such as:
Unipraxis distributes this document for informational purposes only.
- This user definition can now be referenced as a string value in any other policy trigger, for example, in a Message To Users setting:
"Your email attachment has been blocked, as it is missing its mandatory corporate disclaimer: %Disclaimer%"
Notes:
- If you inadvertently define multiple User Definitions with the same name, then any duplicate definitions are ignored and an error is written to the Activity log.
- User definitions can themselves contain variables specified by other user definitions. Ensure that you do not create circular references. For example, if User Definition 1 references User Definition 2, User Definition 2 must not reference User Definition 1.
More information:
Variables in User Notifications and Email Replies