ISPWindowsTokenCacheServiceContract.IsUserHandleCached - Méthode
Détermine s'il existe un handle mis en cache pour l'utilisateur spécifié.
Espace de noms : Microsoft.SharePoint.Administration.Claims
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
<OperationContractAttribute> _
Function IsUserHandleCached ( _
username As String _
) As Boolean
'Utilisation
Dim instance As ISPWindowsTokenCacheServiceContract
Dim username As String
Dim returnValue As Boolean
returnValue = instance.IsUserHandleCached(username)
[OperationContractAttribute]
bool IsUserHandleCached(
string username
)
Paramètres
username
Type : System.StringLe nom de l'utilisateur.
Valeur renvoyée
Type : System.Boolean
true s'il existe un handle mis en cache pour l'utilisateur spécifié ; dans le cas contraire, false.
Remarques
Les classes qui implémentent cette méthode doivent retourner TRUE si un appel précédent à la méthode CacheHandle(IntPtr, Int32) a été effectué avec un callerPid associés à l' username.
Voir aussi
Référence
ISPWindowsTokenCacheServiceContract interface