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