ODAC

TCustomDAConnection.Username Property

Used to supply a user name for login.

Class

TCustomDAConnection

Syntax

property Username: string;

Remarks

Use the Username property to supply a user name to handle server's request for login. If this property is not set, and OS authentication is used, a connection can be established. Otherwise an error is arised.

Warning: Storing hard-coded user name and password entries as property values or in code for the OnLogin event handler can compromise server security.

See Also

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback