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