ISPWindowsTokenCacheServiceContract.IsUserHandleCached method
會決定是否有指定的使用者快取的控制代碼。
Namespace: Microsoft.SharePoint.Administration.Claims
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<OperationContractAttribute> _
Function IsUserHandleCached ( _
username As String _
) As Boolean
'用途
Dim instance As ISPWindowsTokenCacheServiceContract
Dim username As String
Dim returnValue As Boolean
returnValue = instance.IsUserHandleCached(username)
[OperationContractAttribute]
bool IsUserHandleCached(
string username
)
參數
username
Type: System.String使用者的名稱。
傳回值
Type: System.Boolean
true如果沒有指定的使用者 ; 快取控點否則,請false。
備註
如果先前呼叫CacheHandle(IntPtr, Int32)方法可與username相關聯callerPid實作此方法的類別應傳回TRUE 。
請參閱
參照
ISPWindowsTokenCacheServiceContract interface