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:

āļšāˇŠâ€āļģ⎒āļēāˇāļšāļģ⎔

āļ…āļģ⎊āļŽāļē

== or EQ

equals

!= or NEQ

⎃āļ¸āˇāļą āļąāˇœāˇ€āļą


If you want, you can use a condition to hide specific text in your document from a specific user.

  1. Select the text in the document that you want to hide.

  2. āļ­āˇāļģāļąāˇŠāļąChoose ⎁⎓āļģāˇŠāˇ‚āļ´āˇāļ¨āļē-āļ‡āļ­āˇ”āļŊ⎊ āļšāļģāļąāˇŠāļą.

  3. āļēāˇ āļ‰āļģ⎒ āļšāļģāļąāļē ⎃āļģ⎒āļē āļ­āˇ”āļŊāļ¯āˇ“, āˇƒāˇŠāˇ€āļēāļ‚āļšāˇŠâ€āļģ⎓āļē⎀ ⎃āļŊāļšāˇ”āļĢ⎔ āļšāˇœāļ§āˇ”⎀ āļ­āˇāļģāļąāˇŠāļą.

  4. 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.

  5. Click Insert and then save the document.

Note Icon

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

āļ…āļģ⎊āļŽāļē

user_firstname

āļ´āˇ…āļ¸āˇ” āļąāļ¸

user_lastname

āļ…āļœ āļąāļ¸

user_initials

āļ¸āˇ”āļŊāļšāˇ”āļģ⎔

user_company

⎃āļ¸āˇāļœāļ¸

user_street

⎀⎓āļ¯āˇ’āļē

user_country

āļģāļ§

user_zipcode

Zip Code

user_city

āļąāļœāļģāļē

user_title

āļ¸āˇāļ­āˇ˜āļšāˇāˇ€

user_position

X ⎃⎊āļŽāˇāļąāļē

user_tel_work

Business telephone number

user_tel_home

Home telephone number

user_fax

Fax number

user_email

Email address

user_state

āļģāˇāļĸāˇŠâ€āļēāļē


Please support us!