Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Overload for above method that takes a single search factor and returns match following this order. 1. When there is no match, null. 2. When there is a single match, that identity regardless of whether the identity is active. 3. When there is a single active identity match, that identity.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Function ReadIdentity ( _
requestContext As TeamFoundationRequestContext, _
generalSearchValue As String _
) As TeamFoundationIdentity
TeamFoundationIdentity ReadIdentity(
TeamFoundationRequestContext requestContext,
string generalSearchValue
)
TeamFoundationIdentity^ ReadIdentity(
TeamFoundationRequestContext^ requestContext,
String^ generalSearchValue
)
abstract ReadIdentity :
requestContext:TeamFoundationRequestContext *
generalSearchValue:string -> TeamFoundationIdentity
function ReadIdentity(
requestContext : TeamFoundationRequestContext,
generalSearchValue : String
) : TeamFoundationIdentity
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- generalSearchValue
Type: System.String
Return Value
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
Returns TeamFoundationIdentity.
Exceptions
| Exception | Condition |
|---|---|
| MultipleIdentitiesFoundException | Thrown when there are multiple matches, unless exactly one identity is active. |
.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.