Purpose

Specifies the user ID for user ID/password authentication or the principal name for Kerberos authentication.

Valid Values

userid | user_principal_name

where:

userid

is a valid user ID with permissions to access the database using user ID/password authentication.

user_principal_name

is a valid Kerberos user principal name with permissions to access the database using Kerberos authentication.

Notes

When AuthenticationMethod=kerberos, the User property does not have to be specified. The driver uses the user principal name in the Kerberos Ticket Granting Ticket (TGT) as the value for the User property. Any value specified must be a valid Kerberos user principal name used in the Kerberos authentication protocol.

Data Source Methods

public String getUser()

public void setUser(String)

Default Value

No default value

Data Type

String