MyQ X Server
10.2 8.2 EoL Print Server Central Server English French German Italian Portuguese Spanish
10.2 8.2 EoL Print Server Central Server English French German Italian Portuguese Spanish

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à