Click or drag to resize
DseClusterBuilderWithCredentials 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.2.0
Syntax
C#
public DseClusterBuilder 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: DseClusterBuilder
this Builder
See Also