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.
Retrieves the handle to the current user process.
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<OperationContractAttribute> _
Function GetUserHandle ( _
callerPid As Integer _
) As IntPtr
'Usage
Dim instance As ISPWindowsTokenCacheServiceContract
Dim callerPid As Integer
Dim returnValue As IntPtr
returnValue = instance.GetUserHandle(callerPid)
[OperationContractAttribute]
IntPtr GetUserHandle(
int callerPid
)
Parameters
callerPid
Type: System.Int32The ID of the caller process.
Return Value
Type: System.IntPtr
The handle to the user process.
Remarks
Classes that implement this method should return the IntPtr from a previous call to the CacheHandle(IntPtr, Int32) method with the same callerPid.
See Also
Reference
ISPWindowsTokenCacheServiceContract Interface