Utente corrente

Nota

Se ti mancano variabili o non sei sicuro che qualcosa non funzioni come previsto, non esitare a chiedere sulla community.

Le variabili dell’utente corrente restituiscono sempre i valori dell’utente corrente che ha causato, ad esempio, l’esecuzione di un trigger.

Nota

A causa di quanto sopra, queste variabili spesso non sono (ancora) impostate o disponibili per l’uso.

In situazioni in cui, ad esempio, vengono eseguiti scheduler o trigger, questo molto probabilmente non è qualcosa che si desidera utilizzare.

Variabili utente corrente

Nome

Variabile

Esempio

Utente corrente > Indirizzo

#{user.address}

Via Roma 1, 12345 Roma o vuoto se non impostato

Utente corrente > Avatar

#{user.avatar(60,60)}

immagine avatar con larghezza e altezza in pixel (es. 60,60)

Utente corrente > Creato il

#{user.created_at}

2019-10-07 16:25:00 UTC

Utente corrente > Creato da > Indirizzo

#{user.created_by.address}

Via Roma 1, 12345 Roma o vuoto se non impostato

Utente corrente > Creato da > Avatar

#{user.created_by.avatar(60,60)}

immagine avatar con larghezza e altezza in pixel (es. 60,60)

Utente corrente > Creato da > Dipartimento

#{user.created_by.department}

Vendite o vuoto se non impostato

Utente corrente > Creato da > Email

#{user.created_by.email}

jdoe@customer.tld

Utente corrente > Creato da > Fax

#{user.created_by.fax}

004930123464789 o vuoto se non impostato

Utente corrente > Creato da > Nome

#{user.created_by.firstname}

John o vuoto se non impostato

Utente corrente > Creato da > Cognome

#{user.created_by.lastname}

Doe o vuoto se non impostato

Utente corrente > Creato da > Login

#{user.created_by.login}

jdoe

Utente corrente > Creato da > Cellulare

#{user.created_by.mobile}

0049176123456789 or empty if not set

Utente corrente > Creato da > Nota

#{user.created_by.note}

Some note to this user or empty if not set

Utente corrente > Creato da > Telefono

#{user.created_by.phone}

004930123456789 or empty if not set

Utente corrente > Creato da > VIP

#{user.created_by.vip}

true o false

Utente corrente > Creato da > Web

#{user.created_by.web}

https://zammad.org or empty if not set

Utente corrente > Dipartimento

#{user.department}

Vendite o vuoto se non impostato

Utente corrente > Email

#{user.email}

jdoe@customer.tld

Utente corrente > Fax

#{user.fax}

004930123464789 o vuoto se non impostato

Utente corrente > Nome

#{user.firstname}

John o vuoto se non impostato

Utente corrente > Cognome

#{user.lastname}

Doe o vuoto se non impostato

Utente corrente > Login

#{user.login}

jdoe

Utente corrente > Cellulare

#{user.mobile}

0049176123456789 or empty if not set

Utente corrente > Nota

#{user.note}

Some note to this user or empty if not set

Utente corrente > Organizzazione > Assegnazione basata sul dominio

#{user.organization.domain_assignment}

true o false

Utente corrente > Organizzazione > Dominio

#{user.organization.domain}

zammad.com o vuoto se non impostato

Utente corrente > Organizzazione > Nome

#{user.organization.name}

Zammad GmbH

Utente corrente > Organizzazione > Nota

#{user.organization.note}

Una nota all'organizzazione dell'utente o vuoto se non impostato

Utente corrente > Organizzazione > Organizzazione condivisa

#{user.organization.shared}

true o false

Utente corrente > Organizzazione > VIP

#{user.organization.vip}

true o false

Utente corrente > Telefono

#{user.phone}

004930123456789 or empty if not set

Utente corrente > Aggiornato il

#{user.updated_at}

2019-10-07 16:25:00 UTC

Utente corrente > Aggiornato da > Indirizzo

#{user.updated_by.address}

Via Roma 1, 12345 Roma o vuoto se non impostato

Utente corrente > Aggiornato da > Avatar

#{user.updated_by.avatar(60,60)}

immagine avatar con larghezza e altezza in pixel (es. 60,60)

Utente corrente > Aggiornato da > Dipartimento

#{user.updated_by.department}

Vendite o vuoto se non impostato

Utente corrente > Aggiornato da > Email

#{user.updated_by.email}

jdoe@customer.tld

Utente corrente > Aggiornato da > Fax

#{user.updated_by.fax}

004930123464789 o vuoto se non impostato

Utente corrente > Aggiornato da > Nome

#{user.updated_by.firstname}

John o vuoto se non impostato

Utente corrente > Aggiornato da > Cognome

#{user.updated_by.lastname}

Doe o vuoto se non impostato

Utente corrente > Aggiornato da > Login

#{user.updated_by.login}

jdoe

Utente corrente > Aggiornato da > Cellulare

#{user.updated_by.mobile}

0049176123456789 or empty if not set

Utente corrente > Aggiornato da > Nota

#{user.updated_by.note}

Some note to this user or empty if not set

Utente corrente > Aggiornato da > Telefono

#{user.updated_by.phone}

004930123456789 or empty if not set

Utente corrente > Aggiornato da > VIP

#{user.updated_by.vip}

false or true

Utente corrente > Aggiornato da > Web

#{user.updated_by.web}

https://zammad.org or empty if not set

Utente corrente > VIP

#{user.vip}

false or true

Utente corrente > Web

#{user.web}

https://zammad.org or empty if not set