Stay organized with collections
Save and categorize content based on your preferences.
Role
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eUsers within a group have one role, such as owner or member, impacting their permissions.\u003c/p\u003e\n"],["\u003cp\u003eRoles are defined using an enum structure, accessed with \u003ccode\u003eGroupsApp.Role.{roleName}\u003c/code\u003e (e.g., \u003ccode\u003eGroupsApp.Role.OWNER\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eAvailable roles include \u003ccode\u003eOWNER\u003c/code\u003e, \u003ccode\u003eMANAGER\u003c/code\u003e, \u003ccode\u003eMEMBER\u003c/code\u003e, \u003ccode\u003eINVITED\u003c/code\u003e, \u003ccode\u003ePENDING\u003c/code\u003e, and \u003ccode\u003eBANNED\u003c/code\u003e, each with specific implications for group interaction.\u003c/p\u003e\n"]]],[],null,["# Enum Role\n\nRole\n\nPossible roles of a user within a group, such as owner or ordinary member. Users subscribed to a\ngroup have exactly one role within the context of that group.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nGroupsApp.Role.OWNER`.\n\n#### See also\n\n- [Group.getRole(email)](/apps-script/reference/groups/group#getRole(String)) \n\n### Properties\n\n| Property | Type | Description |\n|-----------|--------|------------------------------------------------------------------------------------------------------------------------------|\n| `OWNER` | `Enum` | The owner of a group. |\n| `MANAGER` | `Enum` | The manager of a group. |\n| `MEMBER` | `Enum` | A user who is a member of this group but is neither an owner nor a manager. |\n| `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. |\n| `PENDING` | `Enum` | A user who has requested to join a group but who has not yet been approved by an owner or manager. |\n| `BANNED` | `Enum` | A user who has been banned from a group and cannot attempt to join it. |"]]