Share via


MemberGroupManager Class

Represents the member group manager.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.MemberGroupManager

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class MemberGroupManager _
    Implements IEnumerable
'Usage
Dim instance As MemberGroupManager
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class MemberGroupManager : IEnumerable

Remarks

This class implements the Microsoft .NET Framework IEnumerable interface, which is required for data binding and iterating collections.

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

MemberGroupManager Members

Microsoft.Office.Server.UserProfiles Namespace