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.
Verifies that the provided password matches the value which was configured by the user.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Function IsValidBasicCredential ( _
requestContext As TeamFoundationRequestContext, _
identity As Identity, _
password As String _
) As Boolean
bool IsValidBasicCredential(
TeamFoundationRequestContext requestContext,
Identity identity,
string password
)
bool IsValidBasicCredential(
TeamFoundationRequestContext^ requestContext,
Identity^ identity,
String^ password
)
abstract IsValidBasicCredential :
requestContext:TeamFoundationRequestContext *
identity:Identity *
password:string -> bool
function IsValidBasicCredential(
requestContext : TeamFoundationRequestContext,
identity : Identity,
password : String
) : boolean
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe deployment request context
identity
Type: Microsoft.VisualStudio.Services.Identity.IdentityThe unique identifier of the user
password
Type: System.StringThe password provided by the user
Return Value
Type: System.Boolean
True if basic authentication is configured and the password matches; otherwise, false
.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.