Partager via


UsernameTokenProvider Constructor (String, String)

Initializes a new instance of the UsernameTokenProvider class using the specified user name and password.

Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim username As String
Dim password As String
Dim usernameTokenProvider1 As New UsernameTokenProvider(username, password)

Syntax

'Declaration
Public Sub New( _
    ByVal username As String, _
    ByVal password As String _
)
public UsernameTokenProvider(
    string username, 
    string password
);
public:
UsernameTokenProvider(
    String^ username, 
    String^ password
);
public UsernameTokenProvider(
    System.String username, 
    System.String password
);
public function UsernameTokenProvider(
     username : String, 
     password : String
);

Parameters

  • username
    The user name.
  • password
    The password.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

UsernameTokenProvider Class
UsernameTokenProvider Members
Microsoft.Web.Services3.Design Namespace