Newer Version Available

This content describes an older version of this product. View Latest

GroupMember

Represents a User or Group that is a member of a public group.

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

Fields

Field Details
GroupId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Required. ID of the Group.
This is a relationship field.
Relationship Name
Group
Relationship Type
Lookup
Refers To
Group
UserOrGroupId
Type
reference
Properties
Create, Filter, Group, Sort
Description
Required. ID of the User or Group that is a direct member of the group.

Usage

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 are not 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, system simply returns the existing record.