Share via


PeopleManager.GetPeopleFollowedBy method

Gets the people who the specified user is following.

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

Syntax

'Declaration
Public Function GetPeopleFollowedBy ( _
    accountName As String _
) As List(Of PersonProperties)
'Usage
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As List(Of PersonProperties)

returnValue = instance.GetPeopleFollowedBy(accountName)
public List<PersonProperties> GetPeopleFollowedBy(
    string accountName
)

Parameters

  • accountName
    Type: System.String

    The account name of the target user.

Return value

Type: System.Collections.Generic.List<PersonProperties>
The people who the specified user is following.

Exceptions

Exception Condition
UserNotFoundException
ArgumentNullException

See also

Reference

PeopleManager class

PeopleManager members

Microsoft.Office.Server.UserProfiles namespace