OrganizationProfile.RemoveMember Method (String)
Removes the specified user from the membership of this OrganizationProfile object.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Sub RemoveMember ( _
strAccountName As String _
)
'Usage
Dim instance As OrganizationProfile
Dim strAccountName As String
instance.RemoveMember(strAccountName)
public void RemoveMember(
string strAccountName
)
Parameters
strAccountName
Type: System.StringThe account name of the user to be removed.