UsernamePasswordCredential Constructor (String, String, SecureString) |
Namespace:
MongoDB.Driver.Core.Authentication
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax public UsernamePasswordCredential(
string source,
string username,
SecureString password
)
Public Sub New (
source As String,
username As String,
password As SecureString
)
new :
source : string *
username : string *
password : SecureString -> UsernamePasswordCredential
Parameters
- source
- Type: SystemString
The source. - username
- Type: SystemString
The username. - password
- Type: System.SecuritySecureString
The password.
See Also