SimpleWebTokenCredential Constructor (String, String)
Initializes a new SimpleWebTokenCredential instance with the specified user name and password.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
userName As String, _
password As String _
)
public SimpleWebTokenCredential(
string userName,
string password
)
public:
SimpleWebTokenCredential(
String^ userName,
String^ password
)
new :
userName:string *
password:string -> SimpleWebTokenCredential
public function SimpleWebTokenCredential(
userName : String,
password : String
)
Parameters
userName
Type: System.StringThe user name
password
Type: System.StringThe password
.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.
See Also
Reference
SimpleWebTokenCredential Class