Share via


MembershipData.MemberGroupID property

Gets or sets the unique identifier (ID) of the member group involved in the membership.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

Syntax

'Declaration
Public Property MemberGroupID As Long
    Get
    Set
'Usage
Dim instance As MembershipData
Dim value As Long

value = instance.MemberGroupID

instance.MemberGroupID = value
public long MemberGroupID { get; set; }

Property value

Type: System.Int64
The member group ID.

Remarks

For more information about memberships, 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

MembershipData class

MembershipData members

WebSvcUserProfileService namespace