Querying User Data in Fields or Conditions
You can access and compare some user data from conditions or fields. For example, you can compare user data with the following operators:
Stjórnanda |
Þýðir |
== eða EQ |
er jafnt og |
!= eða NEQ |
er ekki jafnt og |
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.
-
Veldu Setja inn - Svæði.
-
In the
area, select the check box. -
In the With Condition box, type user_lastname == "Doe", where "Doe" is the last name 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 |
Þýðir |
user_firstname |
Nafn |
user_lastname |
Eftirnafn |
user_initials |
Upphafsstafir |
user_company |
Fyrirtæki |
user_street |
Gata |
user_country |
Land |
user_zipcode |
Póstnúmer |
user_city |
Borg |
user_title |
Titill |
user_position |
Staðsetning |
user_tel_work |
Business telephone number |
user_tel_home |
Home telephone number |
user_fax |
Faxnúmer |
user_email |
Netfang |
user_state |
Staða |