תוכן
\<bookmark_value\>fields; user data\</bookmark_value\>\<bookmark_value\>user data; querying\</bookmark_value\>\<bookmark_value\>conditions; user data fields\</bookmark_value\>\<bookmark_value\>hiding;text, from specific users\</bookmark_value\>\<bookmark_value\>text; hiding from specific users, with conditions\</bookmark_value\>\<bookmark_value\>user variables in conditions/fields\</bookmark_value\>

# 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:

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.

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

2. Choose \<emph\>Insert - Section\</emph\>.

3. In the \<emph\>Hide \</emph\>area, select the \<emph\>Hide\</emph\> check box.

4. In the \<emph\>With Condition\</emph\> box, type \<emph\>user_lastname == "Doe"\</emph\>, where "Doe" is the last name of the user that you want to hide the text from.

5. Click \<emph\>Insert\</emph\> 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 | First name
user_lastname | Last name
user_initials | Initials
user_company | Organization
user_street | Street
user_country | Country
user_zipcode | Zip Code
user_city | City
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 | State

נושאים קשורים

About Fields

Conditional Text

Hiding Text

List of operators

נא לתמוך בנו!