MemberGroupManager.Item property
Gets an item by using the specified unique identifier (ID).
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
id As Long _
) As MemberGroup
Get
'Usage
Dim instance As MemberGroupManager
Dim id As Long
Dim value As MemberGroup
value = instance(id)
public MemberGroup this[
long id
] { get; }
Parameters
- id
Type: System.Int64
Property value
Type: Microsoft.Office.Server.UserProfiles.MemberGroup
The MemberGroup object that corresponds to the unique identifier that you passed in.
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.