Click or drag to resize
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: Cassandra
Assembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax
C#
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: Builder
this Builder
See Also