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 |
Arti |
|
== 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.
-
Pilih Sisip - Seksi.
-
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.
-
Klik Sisip lalu simpan dokumennya.
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:
|
Variabel pengguna |
Arti |
|
user_firstname |
Nama depan |
|
user_lastname |
Nama belakang |
|
user_initials |
Insial |
|
user_company |
Perusahaan |
|
user_street |
Jalan |
|
user_country |
Negara |
|
user_zipcode |
Kode Pos |
|
user_city |
Kota |
|
user_title |
Pangkat/Gelar |
|
user_position |
Posisi |
|
user_tel_work |
Nomor telepon bisnis |
|
user_tel_home |
Nomor telepon rumah |
|
user_fax |
Nomor faks |
|
user_email |
Alamat e-mail |
|
user_state |
Negara |