dbSetUserName

Purpose

Sets the specified database connection’s user name.

Format

dbSetUserName(db_id, user_name)
Parameters:
  • db_id (scalar) – database connection index number.

  • user_name (string) – user name to apply to specified database connection.

Remarks

This function must be called before the connection is opened with dbOpen() to have an effect.

See also

dbGetUserName()