Membership.GroupType property

Gets and sets the type of membership group.

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

Syntax

'Declaration
Public Property GroupType As MembershipGroupType
    Get
    Set
'Usage
Dim instance As Membership
Dim value As MembershipGroupType

value = instance.GroupType

instance.GroupType = value
public MembershipGroupType GroupType { get; set; }

Property value

Type: Microsoft.Office.Server.UserProfiles.MembershipGroupType
The type of membership group.

Remarks

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.

See also

Reference

Membership class

Membership members

Microsoft.Office.Server.UserProfiles namespace