Skip to main content
Skip table of contents

Classe utente

La classe User dispone dei seguenti metodi e proprietà:

Metodi

  • this sendEmail(string $subject, string $body) - Invia un'e-mail all'utente.

  • bool canPrintToQueue(string $queueName) - L'utente ha i diritti per inviare lavori alla coda.

  • bool hasGroup(string $name) - L'utente è membro del gruppo.

  • this sendNotification(string $type, string $title, string $body) - Invia una notifica all'utente tramite MyQ Desktop Client:

    • tipo: info, avviso, errore

    • titolo: titolo della notifica

    • body: testo della notifica (formato testo semplice)

  • QuotaInfo getQuotaInfo() - Ottiene informazioni sulle quote dell'utente.

Proprietà

Nome

Tipo

Scrivibile

Descrizione

nome

stringa

-

Nome utente

email

stringa

-

Email dell'utente

nome e cognome

stringa

-

Nome e cognome dell'utente

delegati

Utente[ ]

-

Array dei delegati dell'utente

note

stringa

-

Note

code personali

Coda[ ]

-

Array di code personali ordinate per
priorità

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.