Condividi tramite


OrganizationProfile.AddMember Method (Int64, OrganizationMembershipType)

Adds the specified user profile to this OrganizationProfile object.

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

Syntax

'Declaration
Public Sub AddMember ( _
    userRecordID As Long, _
    type As OrganizationMembershipType _
)
'Usage
Dim instance As OrganizationProfile
Dim userRecordID As Long
Dim type As OrganizationMembershipType

instance.AddMember(userRecordID, type)
public void AddMember(
    long userRecordID,
    OrganizationMembershipType type
)

Parameters

  • userRecordID
    Type: System.Int64

    The record identifier for the user profile.

See Also

Reference

OrganizationProfile Class

OrganizationProfile Members

AddMember Overload

Microsoft.Office.Server.UserProfiles Namespace