Click or drag to resize

DataExchangeControllerGetDataObjectConfigurationLDAPUser Method

Gets the LDAP username and password stated on the data exchange, from which a data object was originally imported.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public static bool GetDataObjectConfigurationLDAPUser(
	int dataObjectId,
	out string userName,
	out string password,
	out string server,
	out int port,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

dataObjectId
Type: SystemInt32
userName
Type: SystemString
LDAP username.
password
Type: SystemString
LDAP password.
server
Type: SystemString
port
Type: SystemInt32
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: Boolean
Returns true if a LDAP username/password was found. Returns false if the data object doesn't state a data exchange (because it wasn't created by one or because the data exchange was later on deleted).
See Also