Share via


MemberGroup members

Provides methods and properties to add, delete, retrieve, set, and manage a member group.

The MemberGroup type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of members in a member group.
Public property CurrentChangeToken Gets the current UserProfileChangeToken object for the change logs of this profile's ProfileType. (Inherited from ProfileBase.)
Public property Description Gets or sets the description of a member group.
Public property DisplayName Gets or sets the display name of the member group. (Overrides ProfileBase.DisplayName.)
Public property Id Gets the ID of the member group.
Public property ID Gets the GUID for this profile. (Inherited from ProfileBase.)
Public property LastUpdate Gets the DateTime value of when the member group was last updated.
Public property MailNickName Gets or sets the mailing nick name of the member group.
Public property Parent (Overrides ProfileBase.Parent.)
Public property ProfileManagerBase (Overrides ProfileBase.ProfileManagerBase.)
Public property ProfileSubtype Gets or sets the profile subtype for this property. (Inherited from ProfileBase.)
Protected property ProfileSubtypeId Gets or sets the profile subtype ID. (Inherited from ProfileBase.)
Public property ProfileType (Overrides ProfileBase.ProfileType.)
Public property Properties Gets the ProfileSubtypePropertyManager object for this profile. (Inherited from ProfileBase.)
Public property PublicOrganizationViewUrl Gets the URL of the organization view page for this profile. (Inherited from ProfileBase.)
Public property PublicUrl (Overrides ProfileBase.PublicUrl.)
Public property RecordId Gets the profile's record identifier. (Inherited from ProfileBase.)
Public property Source Gets the membership source for the member group.
Public property SourceInternal Gets or sets the internal unique identifier.
Public property SourceReference Gets or sets the membership source unique reference for the member group.
Public property Url Gets or sets the URL of the member group.
Public property ViewerRights Returns a bitmask of the viewer's rights to see this profile's data. (Inherited from ProfileBase.)

Top

Methods

  Name Description
Public method Commit Commits changes made to the member group. (Overrides ProfileBase.Commit().)
Public method Delete Deletes the member group.
Public method Equals Determines whether the specified object is identical to the current profile. (Inherited from ProfileBase.)
Protected method Finalize (Inherited from Object.)
Public method GetAllMemberships Gets the number of members in a particular member group.
Public method GetChanges() (Overrides ProfileBase.GetChanges().)
Public method GetChanges(ProfileBaseChangeQuery) (Overrides ProfileBase.GetChanges(ProfileBaseChangeQuery).)
Public method GetChanges(UserProfileChangeToken) (Overrides ProfileBase.GetChanges(UserProfileChangeToken).)
Public method GetEnumerator Returns an enumerator that can iterate through the MemberGroup instance.
Public method GetGroupMembers
Public method GetHashCode Returns the hash code for the unique identifier of this profile. (Inherited from ProfileBase.)
Public method GetImmediateMemberships
Public method GetProfileValueCollection (Overrides ProfileBase.GetProfileValueCollection(String).)
Public method GetType (Inherited from Object.)
Protected method GetViewerRights (Overrides ProfileBase.GetViewerRights().)
Public method IsProfileOwner (Overrides ProfileBase.IsProfileOwner(UserProfile).)
Protected method MemberwiseClone (Inherited from Object.)
Public method SID Gets the profile's unique identifier. (Inherited from ProfileBase.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_nMemberCount This member is reserved for internal use and is not intended to be used directly from your code.

Top

See also

Reference

MemberGroup class

Microsoft.Office.Server.UserProfiles namespace