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: Dse
Assembly: Dse (in Dse.dll) Version: 2.4.0
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