BuilderWithCredentials Method |
Uses the provided credentials when connecting to Cassandra hosts.
This
should be used if the Cassandra cluster has been configured to use the
PasswordAuthenticator. If the the default *
AllowAllAuthenticator is used instead, using this method has no effect.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax public Builder WithCredentials(
string username,
string password
)
Parameters
- username
- Type: SystemString
the user name to use to login to Cassandra hosts. - password
- Type: SystemString
the password corresponding to
Return Value
Type:
Builderthis Builder
See Also