1Ravada::Auth::User(3) User Contributed Perl DocumentationRavada::Auth::User(3)
2
3
4

NAME

6       Ravada::Auth::User - User management and tools library for Ravada
7
8   BUILD
9       Internal OO builder
10
11   messages
12       List of messages for this user
13
14           my @messages = $user->messages();
15
16   unread_messages
17       List of unread messages for this user
18
19           my @unread = $user->unread_messages();
20
21   unshown_messages
22       List of unshown messages for this user
23
24           my @unshown = $user->unshown_messages();
25
26   send_message
27       Send a message to this user
28
29           $user->send_message($subject, $message)
30
31   show_message
32       Returns a message by id
33
34           my $message = $user->show_message($id);
35
36       The data is returned as h hash ref.
37
38   mark_message_read
39       Marks a message as read
40
41           $user->mark_message_read($id);
42
43       Returns nothing
44
45   mark_message_shown
46       Marks a message as shown
47
48           $user->mark_message_shown($id);
49
50       Returns nothing
51
52   mark_message_unread
53       Marks a message as unread
54
55           $user->mark_message_unread($id);
56
57       Returns nothing
58
59   mark_all_messages_read
60       Marks all message as read
61
62           $user->mark_all_messages_read();
63
64       Returns nothing
65
66   allowed_access
67       Return true if the user has access to clone a virtual machine
68
69
70
71perl v5.30.1                      2020-02-21             Ravada::Auth::User(3)
Impressum