OrganizationProfile.AddMember method (Int64, OrganizationMembershipType)

NOTE: This API is now obsolete.

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)

[ObsoleteAttribute("This class is no longer supported.")]
public void AddMember(
	long userRecordID,
	OrganizationMembershipType type
)

Parameters

userRecordID
Type: System.Int64

The record identifier for the user profile.

type
Type: Microsoft.Office.Server.UserProfiles.OrganizationMembershipType

The OrganizationMembershipType that identifies the type of membership. The user is either a member or a leader.

Show: