Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides methods and properties to add, delete, retrieve, set, and manage a member group.
public ref class MemberGroup : Microsoft::Office::Server::UserProfiles::ProfileBase, System::Collections::IEnumerable
public class MemberGroup : Microsoft.Office.Server.UserProfiles.ProfileBase, System.Collections.IEnumerable
type MemberGroup = class inherit ProfileBase interface IEnumerable
Public Class MemberGroup Inherits ProfileBase Implements IEnumerable
This class implements the Microsoft .NET Framework IEnumerable interface, which is required for data binding and iterating collections.
A member group represents a list of members of a group, such as the members of a distribution list (DL), the members of a security group, or the members of a SharePoint site.
The MemberGroup object defines a DL or a Windows SharePoint Services site or any other new member group that you create by using the object model. It defines a URL property, which represents the archive location (the mailto: link) in the case of a DL, or a Windows SharePoint Services site URL, in the case of the MemberGroup object.
The SourceReference property is used by the membership source to uniquely reference the group. For example, the membership source unique reference for Microsoft Active Directory is the distinguished name, and for SharePoint sites, is the ID.
The source type of a membership can be a DL, a SharePoint site, or a custom membership source. For more information, see the MembershipSource enumeration.
For more information about types of membership groups, see Memberships Overview. For a code example about how to create a member group and add a member to the newly created group, see How to: Create Memberships.
This member is reserved for internal use and is not intended to be used directly from your code.
Gets the number of members in a member group.
Gets the current UserProfileChangeToken object for the change logs of this profile's ProfileType.(Inherited from ProfileBase)
Gets or sets the description of a member group.
Gets or sets the display name of the member group.
Gets the ID of the member group.
Gets the GUID for this profile.(Inherited from ProfileBase)
Gets the DateTime value of when the member group was last updated.
Gets or sets the mailing nick name of the member group.
Gets or sets the profile subtype for this property.(Inherited from ProfileBase)
Gets or sets the profile subtype ID.(Inherited from ProfileBase)
Gets the ProfileSubtypePropertyManager object for this profile.(Inherited from ProfileBase)
Gets the URL of the organization view page for this profile.(Inherited from ProfileBase)
Gets the profile's record identifier.(Inherited from ProfileBase)
Gets the membership source for the member group.
Gets or sets the internal unique identifier.
Gets or sets the membership source unique reference for the member group.
Gets or sets the URL of the member group.
Returns a bitmask of the viewer's rights to see this profile's data.(Inherited from ProfileBase)
Commits changes made to the member group.
Deletes the member group.
Determines whether the specified object is identical to the current profile.(Inherited from ProfileBase)
Gets the number of members in a particular member group.
Returns an enumerator that can iterate through the MemberGroup instance.
Returns the hash code for the unique identifier of this profile.(Inherited from ProfileBase)
Gets the profile's unique identifier.(Inherited from ProfileBase)