Classe utente
Il Utente la classe ha i seguenti metodi e proprietà:
Metodi
questo sendEmail(stringa $subject, stringa $body) - Inviare un'e-mail all'utente.
bool canPrintToQueue(stringa $queueName) - L'utente ha i diritti per inviare i lavori alla coda.
bool hasGroup(stringa $nome) - L'utente è un membro del gruppo.
questo sendNotification(stringa $type, stringa $title, stringa $body) - Inviare una notifica all'utente tramite MyQ Desktop Client:
tipo: info, warning, error
titolo: titolo di notifica
body: testo di notifica (formato testo normale)
QuotaInfo getQuotaInfo() - Ottenere informazioni sulle quote dell'utente.
Proprietà
Nome | Tipo | Scrivibile | Descrizione |
---|---|---|---|
nome | stringa | - | Nome di accesso dell'utente |
stringa | - | Email dell'utente | |
nome e cognome | stringa | - | Nome e cognome dell'utente |
delegati | Utente[ ] | - | Array di delegati dell'utente |
note | stringa | - | Note |
quote personali | Coda[ ] | - | Array di code personali ordinate per |