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   show_message
27       Returns a message by id
28
29           my $message = $user->show_message($id);
30
31       The data is returned as h hash ref.
32
33   mark_message_read
34       Marks a message as read
35
36           $user->mark_message_read($id);
37
38       Returns nothing
39
40   mark_message_shown
41       Marks a message as shown
42
43           $user->mark_message_shown($id);
44
45       Returns nothing
46
47   mark_message_unread
48       Marks a message as unread
49
50           $user->mark_message_unread($id);
51
52       Returns nothing
53
54   mark_all_messages_read
55       Marks all message as read
56
57           $user->mark_all_messages_read();
58
59       Returns nothing
60
61   allowed_access
62       Return true if the user has access to clone a virtual machine
63
64
65
66perl v5.28.2                      2019-05-29             Ravada::Auth::User(3)
Impressum