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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe descriptor of the identity to retrieve.
- descriptor
Type: Microsoft.VisualStudio.Services.Identity.IdentityDescriptor
- withDirectMembership
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Server.Core.TeamFoundationIdentity
Identity object for the descriptor, null if it could not be retrieved.
.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.