GroupMember

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

Supported Calls

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

Special Access Rules

Customer Portal users cannot access this object.

Fields

Field Field Type Field Properties Description
GroupId reference Create

Filter

Required. ID of the Group. For information on IDs, see ID Field Type.
UserOrGroupId reference Create

Filter

Required. ID of the User or Group that is a direct member of the group. For information on IDs, see ID Field Type.

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. Users who 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, the create() call simply returns the existing record.

© Copyright 2000-2009 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.