| DeveloperName |
- Type
- string
- Properties
- Filter, Group, Nillable, Sort
- Description
- The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not
end with an underscore, and not contain two consecutive underscores. In managed
packages, this field prevents naming conflicts on package installations. With this
field, a developer can change the object’s name in a managed package and the changes are
reflected in a subscriber’s organization. Corresponds to Group Name in
the user interface.
When creating large sets of
data, always specify a unique DeveloperName for each record. If no
DeveloperName is specified, performance may slow while Salesforce
generates one for each record.
|
| DoesIncludeBosses |
- Type
- boolean
- Properties
- Filter, Group, Sort
- Description
- Indicates whether the managers have access (true) or do not have
access (false) to
records shared with members of the group. This field is
only available for public groups.
|
| Name |
- Type
- string
- Properties
- Filter, Group, idLookup, Sort
- Description
- The name of the group. This value corresponds to the
value of the Label field in the user interface.
|
| OwnerId |
- Type
- reference
- Properties
- Filter, Group, Sort
- Description
- The ID of the user who owns the group.
|
| RelatedId |
- Type
- reference
- Properties
- Filter, Group, Nillable, Sort
- Description
- Represents the ID of the associated records. For
example, for Groups of type “Role,” this
field is the ID of the associated UserRole. The RelatedId field is
polymorphic.
|
| Type |
- Type
- picklist
- Properties
- Filter, Group, Restricted picklist, Sort
- Description
- Type of the group. One of the following values:
-
AllCustomerPortal—All your
Customer Portal or Customer Community Plus users.
This type is only available when a Customer Portal
or a Customer Community is enabled for your
org.
-
CollaborationGroup—Chatter
group.
-
Manager—Public group that includes a user’s direct and
indirect managers. This Group is
read-only.
-
ManagerAndSubordinatesInternal—Public group that includes a
user and the user’s direct and indirect
reports. This group is read-only.
-
Organization—Public group that
includes all the User records in the organization. This group is
read-only.
-
PRMOrganization—Public group that
includes all the partners in an organization that
has the partner portal feature enabled.
-
Queue—Public group that includes
all the User records that are members of a queue.
-
Regular—Standard Public Group.
When you create a group through the create() call, its type must be Regular, unless a
partner portal is enabled for the org. If so, the
type can be Regular or PRMOrganization.
-
Role—Public Group that includes
all the User records in a particular
UserRole.
-
RoleAndSubordinates—Public Group
that includes all the User records in a particular
UserRole and all the User records in any
subordinateUserRole.
-
SharingRuleGroup—Group associated with a
criteria-based sharing rule.
-
Territory—Public Group that
includes all the User records in a particular
Territory.
-
TerritoryAndSubordinates—Public
Group that includes all the User records in a
particular Territory and all the User records in
any subordinate Territory.
The original territory management feature is scheduled for
retirement for all customers as of Summer ’21. After the feature is retired,
users can’t access the original territory management feature and its underlying
data. We encourage you to migrate to Enterprise Territory Management. We also
strongly recommend that you keep a comprehensive backup of your territory data
while you’re still using the original territory management feature. For more
information, see The Original Territory Management Module Will
Be Retired in the Summer ’21 Release. The information in this topic
applies to the original territory management feature only, and not to Enterprise
Territory Management.
Only Regular can be used when creating a group.
The other values are reserved for system-managed
groups.
|