Home > PHP > Function > OCI8 > oci_password_change()

oci_password_change()

oci_password_change - Changes password of Oracle's user

Syntax

resource oci_password_change (resource $connection, string $username, string $old_password, string $new_password, string $dbname, string $username, string $old_password, string $new_password, resource $connection, string $username, string $old_password, string $new_password, string $dbname, string $username, string $old_password, string $new_password)

Arguments

  • connection - An Oracle connection identifier, returned by oci_connect() or oci_pconnect().
  • username - The Oracle user name.
  • old_password - The old password.
  • new_password - The new password to be set.
  • dbname - The database name.
  • username
  • old_password
  • new_password
  • connection - An Oracle connection identifier, returned by oci_connect() or oci_pconnect().
  • username - The Oracle user name.
  • old_password - The old password.
  • new_password - The new password to be set.
  • dbname - The database name.
  • username
  • old_password
  • new_password

Description

Changes password for user with username.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns TRUE on success or FALSE on failure.