SDAC

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, SDAC tries to connect with the sa user name.

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-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback