del método PeopleManager.IsFollowing
Comprueba si el primer usuario especificado sigue el segundo usuario especificado.
Espacio de nombres: Microsoft.SharePoint.Client.UserProfiles
Ensamblados: Microsoft.SharePoint.Client.UserProfiles.Silverlight (en Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (en Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (en Microsoft.SharePoint.Client.UserProfiles.dll)
Sintaxis
'Declaración
Public Shared Function IsFollowing ( _
context As ClientRuntimeContext, _
possibleFollowerAccountName As String, _
possibleFolloweeAccountName As String _
) As ClientResult(Of Boolean)
'Uso
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
)
Parámetros
- context
Tipo: Microsoft.SharePoint.Client.ClientRuntimeContext
- possibleFollowerAccountName
Tipo: System.String
- possibleFolloweeAccountName
Tipo: System.String
Valor devuelto
Tipo: Microsoft.SharePoint.Client.ClientResult<Boolean>