Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 ( _
strAccountName As String, _
type As OrganizationMembershipType _
)
'Usage
Dim instance As OrganizationProfile
Dim strAccountName As String
Dim type As OrganizationMembershipType
instance.AddMember(strAccountName, type)
public void AddMember(
string strAccountName,
OrganizationMembershipType type
)
Parameters
strAccountName
Type: System.StringThe name associated with the user profile.
type
Type: Microsoft.Office.Server.UserProfiles.OrganizationMembershipTypeThe OrganizationMembershipType that identifies the type of membership. The user is either a member or a leader.