fbsql_change_user
(PHP 4 >= 4.0.6, PHP 5)
fbsql_change_user — Change logged in user of the active connection
Descrição
$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.
Parâmetros
-
user -
The new user name.
-
password -
The new user password.
-
database -
If specified, this will be the default or current database after the user has been changed.
-
link_identifier -
Um 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
Valor Retornado
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.