Share via


MemberGroup.Id Property

Gets the ID of the member group.

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

Syntax

'Declaration
Public ReadOnly Property Id As Long
    Get
'Usage
Dim instance As MemberGroup
Dim value As Long

value = instance.Id
public long Id { get; }

Property Value

Type: System.Int64
The ID of the member 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

MemberGroup Class

MemberGroup Members

Microsoft.Office.Server.UserProfiles Namespace