User
- Last Updated: December 21, 2016
- 1 minute read
- DataDirect Connectors
- JDBC
- MongoDB 6.0
- Documentation
Purpose
Specifies the user ID for user ID/password authentication or the user 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.
Default
None
Data Type
String