PeopleManager.StopFollowing method

Have the current user stop following the specified user.

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

Syntax

'Declaration
Public Sub StopFollowing ( _
    accountName As String _
)
'Usage
Dim instance As PeopleManager
Dim accountName As String

instance.StopFollowing(accountName)
public void StopFollowing(
    string accountName
)

Parameters

  • accountName
    Type: System.String

    The account name of the user to stop following.

Exceptions

Exception Condition
UserNotFoundException
ArgumentNullException

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.Office.Server.UserProfiles namespace