IGroupSecurityService.IsIdentityCached Method
Checks whether an identity is cached.
Namespace: Microsoft.TeamFoundation.Server
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function IsIdentityCached ( _
factor As SearchFactor, _
factorValue As String _
) As Boolean
bool IsIdentityCached(
SearchFactor factor,
string factorValue
)
bool IsIdentityCached(
SearchFactor factor,
String^ factorValue
)
abstract IsIdentityCached :
factor:SearchFactor *
factorValue:string -> bool
function IsIdentityCached(
factor : SearchFactor,
factorValue : String
) : boolean
Parameters
factor
Type: Microsoft.TeamFoundation.Server.SearchFactorspecifies how search will continue SearchFactor
factorValue
Type: System.Stringthis value will be interpreted based on SearchFactor
Return Value
Type: System.Boolean
True if and only if the identity is cached; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.