Object Reference for the Salesforce Platform
Newer Version Available
GroupMember
Supported Calls
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
Fields
| Field | Details |
|---|---|
| GroupId |
|
| UserOrGroupId |
|
Usage
If your group contains more than 10,000 members, for improved performance, adjust group membership using the GroupMember API object instead of the group's detail page in Setup.
A record exists for every User or Group who is a direct member of a public group whose Type field is set to Regular. User records that are indirect members of Regular public groups aren't listed as group members. A User can be an indirect member of a group if he or she is in a UserRole above the direct group member in the hierarchy, or if he or she is a member of a group that is included as a subgroup in that group.
If you attempt to create a record that matches an existing record, the system simply returns the existing record.