Description
-
Holds role of the contact in the chat room.
Property Role
-
A RolesEnum
enumeration.
Syntax
-
object.Role [= value]
The Role Property syntax has these parts:
| object |
An expression evaluating to an object
of Role XMPPContact. |
| value |
A
RolesEnum
enumeration, as described in settings. |
Settings
-
The settings for value are:
 |
NoRole |
0 |
No role defined. |
 |
VisitorRole |
1 |
More restricted role within the
context of a moderated room, since visitors are not allowed to
send messages to all occupants. |
 |
ParticipantRole |
2 |
Has fewer privileges than a
moderator, although he or she always has the right to speak. |
 |
ModeratorRole |
3 |
Most powerful occupant in the room,
and can to some extent manage other occupants' roles in the
room. |
Remarks
-
This property defines role of the contact in the chat room. Roles
are temporary and they do not persist across user's visit to the
chat room, and may change during contact's visit in the chat room.
|