edb_user(<ConnectionHandle>)
<ConnectionHandle> =
Handle of connection returned by edb_connect function
Returns
The user name (STRING) if successful, or
FALSE if any errors
UsageThe edb_user function returns the user name for a connection.
Examples
<?php
// The following script connects to a local
// ElevateDB configuration and database, displays
// the user name using the edb_user()
// function, and then disconnects using the edb_disconnect()
// function
$con = edb_connect("type=local;charset=Ansi;configpath=C:\\Tutorial;"+
"uid=Administrator;pwd=EDBDefault;database=Tutorial");
if (!$con)
{
die("Could not connect: " . edb_errmsg());
}
echo edb_user($con);
edb_disconnect($con);
?>