You can access and compare some user data from conditions or fields. For example, you can compare user data with the following operators:
Operator | Meaning |
---|---|
== or EQ | equals |
!= or NEQ | is not equal to |
If you want, you can use a condition to hide specific text in your document from a specific user.
Select the text in the document that you want to hide.
Choose Insert - Section.
In the Hide area, select the Hide check box.
In the With Condition box, type user-lastname == "Doe", where "Doe" is the surname of the user that you want to hide the text from.
Click Insert and then save the document.
The name of the hidden section can still be seen in the Navigator.
The following table is a list of the user variables that you can access when defining a condition or a field:
User variables | Meaning |
---|---|
user-firstname | Forename |
user-lastname | Surname |
user-initials | Initials |
user-company | Company |
user-street | Street |
user-country | Country |
user-zipcode | Postcode |
user-city | Post town |
user-title | Title |
user-position | Position |
user-tel-work | Business telephone number |
user-tel-home | Home telephone number |
user-fax | Fax number |
user-email | Email address |
user-state | County |