AI-generated Key Takeaways
- 
          
A user has exactly one role within a group they are subscribed to.
 - 
          
Roles in a group can be OWNER, MANAGER, MEMBER, INVITED, PENDING, or BANNED.
 - 
          
To call an enum representing a role, use the format
GroupsApp.Role.ROLE_NAME. 
Possible roles of a user within a group, such as owner or ordinary member. Users subscribed to a group have exactly one role within the context of that group.
To call an enum, you call its parent class, name, and property. For example, 
GroupsApp.Role.OWNER.
See also
Properties
| Property | Type | Description | 
|---|---|---|
OWNER | Enum | The owner of a group. | 
MANAGER | Enum | The manager of a group. | 
MEMBER | Enum | A user who is a member of this group but is neither an owner nor a manager. | 
INVITED | Enum | A user who has been invited to join a group by an owner or manager of the group but who has not yet accepted the invitation. | 
PENDING | Enum | A user who has requested to join a group but who has not yet been approved by an owner or manager. | 
BANNED | Enum | A user who has been banned from a group and cannot attempt to join it. |