Share via


OrganizationProfile.RemoveMember method (String)

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("This class is no longer supported.")> _
Public Sub RemoveMember ( _
    strAccountName As String _
)
'Usage
Dim instance As OrganizationProfile
Dim strAccountName As String

instance.RemoveMember(strAccountName)
[ObsoleteAttribute("This class is no longer supported.")]
public void RemoveMember(
    string strAccountName
)

Parameters

  • strAccountName
    Type: System.String

    The account name of the user to be removed.

See also

Reference

OrganizationProfile class

OrganizationProfile members

RemoveMember overload

Microsoft.Office.Server.UserProfiles namespace