📚 SAP Business One SDK Help

DbUserName Property
See Also 

Description

Sets or returns the user name for establishing a connection to the database server.

The field is not mandatory, as the database credentials are stored in the System Landscape Directory (SLD) server and you can use these values instead.

Property type

Read-write property

Syntax

Visual Basic
Public Property DbUserName() As String

Remarks

If you set a value to the DbUserName field, then that value is returned when you get a value from this field. If you connected without providing a database user name (relying on the credentials stored in the license server), then an empty string is returned.

See Also