ISPWindowsTokenCacheServiceContract.GetUserHandle 方法
检索当前用户进程的句柄。
命名空间: Microsoft.SharePoint.Administration.Claims
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<OperationContractAttribute> _
Function GetUserHandle ( _
callerPid As Integer _
) As IntPtr
用法
Dim instance As ISPWindowsTokenCacheServiceContract
Dim callerPid As Integer
Dim returnValue As IntPtr
returnValue = instance.GetUserHandle(callerPid)
[OperationContractAttribute]
IntPtr GetUserHandle(
int callerPid
)
参数
callerPid
类型:System.Int32调用进程的 ID。
返回值
类型:System.IntPtr
用户进程句柄。
备注
实现此方法的类应返回以前具有相同的callerPid的CacheHandle(IntPtr, Int32)方法调用IntPtr 。
另请参阅
引用
ISPWindowsTokenCacheServiceContract 接口