PeopleManager.AmIFollowing method
Checks whether the current user is following the specified user.
Namespace: Microsoft.SharePoint.Client.UserProfiles
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
Syntax
'Declaration
Public Function AmIFollowing ( _
accountName As String _
) As ClientResult(Of Boolean)
'Usage
Dim instance As PeopleManager
Dim accountName As String
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.AmIFollowing(accountName)
public ClientResult<bool> AmIFollowing(
string accountName
)
Parameters
- accountName
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>