Share via


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

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

See Also

Reference

TeamFoundationIdentityService Class

ReadRequestIdentity Overload

Microsoft.TeamFoundation.Framework.Server Namespace