ITeamFoundationBasicAuthService.HasBasicCredential Method
Determines if the specified user has configured basic authentication.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function HasBasicCredential ( _
requestContext As TeamFoundationRequestContext, _
identity As Identity _
) As Boolean
bool HasBasicCredential(
TeamFoundationRequestContext requestContext,
Identity identity
)
bool HasBasicCredential(
TeamFoundationRequestContext^ requestContext,
Identity^ identity
)
abstract HasBasicCredential :
requestContext:TeamFoundationRequestContext *
identity:Identity -> bool
function HasBasicCredential(
requestContext : TeamFoundationRequestContext,
identity : Identity
) : boolean
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe deployment request context
identity
Type: Microsoft.VisualStudio.Services.Identity.IdentityThe unique identifier of the user
Return Value
Type: System.Boolean
.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.