Partager via


ITeamFoundationIdentityService.ReadIdentityFromSource Method

ReadIdentityFromSource is used to retrive the identity from its source location (AD or GSS).

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Function ReadIdentityFromSource ( _
    requestContext As TeamFoundationRequestContext, _
    descriptor As IdentityDescriptor, _
    withDirectMembership As Boolean _
) As TeamFoundationIdentity
TeamFoundationIdentity ReadIdentityFromSource(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor descriptor,
    bool withDirectMembership
)
TeamFoundationIdentity^ ReadIdentityFromSource(
    TeamFoundationRequestContext^ requestContext, 
    IdentityDescriptor^ descriptor, 
    bool withDirectMembership
)
abstract ReadIdentityFromSource : 
        requestContext:TeamFoundationRequestContext * 
        descriptor:IdentityDescriptor * 
        withDirectMembership:bool -> TeamFoundationIdentity
function ReadIdentityFromSource(
    requestContext : TeamFoundationRequestContext, 
    descriptor : IdentityDescriptor, 
    withDirectMembership : boolean
) : TeamFoundationIdentity

Parameters

Return Value

Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
Identity object for the descriptor, null if it could not be retrieved.

.NET Framework Security

See Also

Reference

ITeamFoundationIdentityService Interface

Microsoft.TeamFoundation.Server.Core Namespace