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.
Sets the basic credential password for the specified user.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Sub SetBasicCredential ( _
requestContext As TeamFoundationRequestContext, _
identity As Identity, _
password As String _
)
void SetBasicCredential(
TeamFoundationRequestContext requestContext,
Identity identity,
string password
)
void SetBasicCredential(
TeamFoundationRequestContext^ requestContext,
Identity^ identity,
String^ password
)
abstract SetBasicCredential :
requestContext:TeamFoundationRequestContext *
identity:Identity *
password:string -> unit
function SetBasicCredential(
requestContext : TeamFoundationRequestContext,
identity : Identity,
password : String
)
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
.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.