PeopleManager.IsFollowing - Méthode
Vérifie si le premier utilisateur spécifié est suivant le second utilisateur spécifié.
Espace de noms : Microsoft.SharePoint.Client.UserProfiles
Assemblys : Microsoft.SharePoint.Client.UserProfiles.Silverlight (dans Microsoft.SharePoint.Client.UserProfiles.Silverlight.dll); Microsoft.SharePoint.Client.UserProfiles.Phone (dans Microsoft.SharePoint.Client.UserProfiles.Phone.dll) Microsoft.SharePoint.Client.UserProfiles (dans Microsoft.SharePoint.Client.UserProfiles.dll)
Syntaxe
'Déclaration
Public Shared Function IsFollowing ( _
context As ClientRuntimeContext, _
possibleFollowerAccountName As String, _
possibleFolloweeAccountName As String _
) As ClientResult(Of Boolean)
'Utilisation
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
)
Paramètres
- context
Type : Microsoft.SharePoint.Client.ClientRuntimeContext
- possibleFollowerAccountName
Type : System.String
- possibleFolloweeAccountName
Type : System.String
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<Boolean>