PeopleManager.Follow method
Have the current user start following the specified user.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Sub Follow ( _
accountName As String _
)
'Usage
Dim instance As PeopleManager
Dim accountName As String
instance.Follow(accountName)
public void Follow(
string accountName
)
Parameters
accountName
Type: System.StringThe account name of the user to follow.
Exceptions
Exception | Condition |
---|---|
UserNotFoundException | |
ArgumentNullException |