The User class has the following methods and properties:
Methods
-
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. -
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 |
|---|---|---|---|
|
|
string |
- |
Login name of the user |
|
|
string |
- |
Email of the user |
|
|
string |
- |
Name and surname of the user |
|
|
User[ ] |
- |
Array of the user's delegates |
|
|
string |
- |
Notes |
|
|
Queue[ ] |
- |
Array of personal queues ordered by
|