(PHP 4 >= 4.0.6, PHP 5)
fbsql_change_user — Change logged in user of the active connection
$user
, string $password
[, string $database
[, resource $link_identifier
]] )fbsql_change_user() changes the logged in user of the specified connection. If the new user and password authorization fails, the current connected user stays active.
userThe new user name.
passwordThe new user password.
databaseIf specified, this will be the default or current database after the user has been changed.
link_identifierUm identificador de conexão FrontBase retornado por fbsql_connect() ou fbsql_pconnect().
Se opcional e não especificado, a função tentará encontrar uma conexão aberta para o servidor FrontBase server e se não for encontrada uma conexão dessa ela irá tentar criar uma como se fbsql_connect() fosse chamada sem argumentos
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.