Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
ReadIdentityFromSource is used to retrieve the identity from its source location (AD or GSS).
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function ReadIdentityFromSource ( _
requestContext As TeamFoundationRequestContext, _
descriptor As IdentityDescriptor, _
withDirectMembership As Boolean _
) As TeamFoundationIdentity
public TeamFoundationIdentity ReadIdentityFromSource(
TeamFoundationRequestContext requestContext,
IdentityDescriptor descriptor,
bool withDirectMembership
)
public:
virtual TeamFoundationIdentity^ ReadIdentityFromSource(
TeamFoundationRequestContext^ requestContext,
IdentityDescriptor^ descriptor,
bool withDirectMembership
) sealed
abstract ReadIdentityFromSource :
requestContext:TeamFoundationRequestContext *
descriptor:IdentityDescriptor *
withDirectMembership:bool -> TeamFoundationIdentity
override ReadIdentityFromSource :
requestContext:TeamFoundationRequestContext *
descriptor:IdentityDescriptor *
withDirectMembership:bool -> TeamFoundationIdentity
public final function ReadIdentityFromSource(
requestContext : TeamFoundationRequestContext,
descriptor : IdentityDescriptor,
withDirectMembership : boolean
) : TeamFoundationIdentity
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
descriptor
Type: Microsoft.TeamFoundation.Framework.Server.IdentityDescriptorDescriptor of the identity to retrieve.
- withDirectMembership
Type: System.Boolean
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationIdentity
Identity object for the descriptor, null if it could not be retrieved.
Implements
.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.