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.
Resolves the authorized user associated with the request context to a TeamFoundationIdentity.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Function ReadRequestIdentity ( _
requestContext As TeamFoundationRequestContext _
) As TeamFoundationIdentity
TeamFoundationIdentity ReadRequestIdentity(
TeamFoundationRequestContext requestContext
)
TeamFoundationIdentity^ ReadRequestIdentity(
TeamFoundationRequestContext^ requestContext
)
abstract ReadRequestIdentity :
requestContext:TeamFoundationRequestContext -> TeamFoundationIdentity
function ReadRequestIdentity(
requestContext : TeamFoundationRequestContext
) : TeamFoundationIdentity
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context to read.
Return Value
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
A TeamFoundationIdentity for the authorized user.
Exceptions
| Exception | Condition |
|---|---|
| IdentityNotFoundException | Thrown when the identity does not exist in the store. |
.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.