Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether the first specified user is following the second specified user.
Namespace: Microsoft.SharePoint.Client.UserProfiles
Assembly: Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)
Syntax
'Declaration
Public Shared Function IsFollowing ( _
context As ClientRuntimeContext, _
possibleFollowerAccountName As String, _
possibleFolloweeAccountName As String _
) As ClientResult(Of Boolean)
'Usage
Dim context As ClientRuntimeContext
Dim possibleFollowerAccountName As String
Dim possibleFolloweeAccountName As String
Dim returnValue As ClientResult(Of Boolean)
returnValue = PeopleManager.IsFollowing(context, _
possibleFollowerAccountName, possibleFolloweeAccountName)
public static ClientResult<bool> IsFollowing(
ClientRuntimeContext context,
string possibleFollowerAccountName,
string possibleFolloweeAccountName
)
Parameters
- context
Type: Microsoft.SharePoint.Client.ClientRuntimeContext
- possibleFollowerAccountName
Type: System.String
- possibleFolloweeAccountName
Type: System.String
Return value
Type: Microsoft.SharePoint.Client.ClientResult<Boolean>