 | ClusterOptionsWithCredentials Method |
Set credentials used for authentication.
Namespace:
Couchbase
Assembly:
Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntaxpublic ClusterOptions WithCredentials(
string username,
string password
)
Parameters
- username
- Type: SystemString
The username. - password
- Type: SystemString
The password.
Return Value
Type:
ClusterOptions
A reference to this
ClusterOptions object for method chaining.
See Also