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

User Class

The User class has the following methods and properties:

Methods

  • this sendEmail(string $subject, string $body) - Send an email to the user.

  • bool canPrintToQueue(string $queueName) - The user has the rights to send jobs to the queue.

  • bool hasGroup(string $name) - The user is a member of the group.

  • this sendNotification(string $type, string $title, string $body) - Send a notification to the user via MyQ Desktop Client:

    • type: info, warning, error

    • title: notification title

    • body: notification text (plain text format)

  • QuotaInfo getQuotaInfo() - Get information about user's quotas.

Properties

Name

Type

Writable

Description

name

string

-

Login name of the user

email

string

-

Email of the user

fullname

string

-

Name and surname of the user

delegates

User[ ]

-

Array of the user's delegates

notes

string

-

Notes

personalQueues

Queue[ ]

-

Array of personal queues ordered by
priority