downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ibase_name_result> <ibase_maintain_db
[edit] Last updated: Fri, 10 Feb 2012

view this page in

ibase_modify_user

(PHP 4 >= 4.2.0, PHP 5)

ibase_modify_userセキュリティデータベースのユーザを変更する(IB6 以降のみ)

説明

bool ibase_modify_user ( resource $service_handle , string $user_name , string $password [, string $first_name [, string $middle_name [, string $last_name ]]] )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

PHP 4 では、service_handle パラメータのかわりに serverdba_user_name および dba_user_password を使用します。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

参考

  • ibase_add_user() - セキュリティデータベースにユーザを追加する(IB6 以降のみ)
  • ibase_delete_user() - セキュリティデータベースからユーザを削除する(IB6 以降のみ)



add a note add a note User Contributed Notes ibase_modify_user
admin at systecdurango dot com 09-Aug-2011 08:16
ibase microsip firebird

<?php
$user_name
="ABC";
$password="123";
 
 
$ibserv = ibase_service_attach("localhost","SYSDBA","masterkey");
ibase_modify_user($ibserv, $user_name, $password);
ibase_service_detach($ibserv);
?>

 this change te password por user ABC to 123

SYSDBA USER AND PASSWORD IS NEED TO THIS LINE

<?php $ibserv = ibase_service_attach("localhost","SYSDBA","masterkey"); ?>
_ex at navigators dot lv 24-Jan-2005 01:11
function changed in php 5! in earlier versions the syntax was:
bool ibase_modify_user ( string server, string dba_user_name, string dba_user_password, string user_name, string password [, string first_name [, string middle_name [, string last_name]]])

now it's necessary to connect to service manager, then call ibase_modify_user() and then disconnect from service manager:
    $ibserv = ibase_service_attach($host, $dba_username, $dba_password);
    ibase_modify_user($ibserv, $user_name, $password);
    ibase_service_dettach($ibserv);

 
show source | credits | stats | sitemap | contact | advertising | mirror sites