ISPWindowsTokenCacheServiceContract.GetUserHandle - Méthode
Récupère le handle pour le processus utilisateur en cours.
Espace de noms : Microsoft.SharePoint.Administration.Claims
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
<OperationContractAttribute> _
Function GetUserHandle ( _
callerPid As Integer _
) As IntPtr
'Utilisation
Dim instance As ISPWindowsTokenCacheServiceContract
Dim callerPid As Integer
Dim returnValue As IntPtr
returnValue = instance.GetUserHandle(callerPid)
[OperationContractAttribute]
IntPtr GetUserHandle(
int callerPid
)
Paramètres
callerPid
Type : System.Int32L'ID du processus appelant.
Valeur renvoyée
Type : System.IntPtr
Le handle du processus utilisateur.
Remarques
Les classes qui implémentent cette méthode doivent retourner l' IntPtr d'un appel précédent à la méthode CacheHandle(IntPtr, Int32) avec la même callerPid.
Voir aussi
Référence
ISPWindowsTokenCacheServiceContract interface