PEAR Manual
Prev |  | Next

# File_Passwd_Cvs::changePasswd()

File_Passwd_Cvs::changePasswd() -- Change password

## Synopsis

``mixed File_Passwd_Cvs::changePasswd` (mixed $user, mixed $pass)`

## Description

Change the password of a certain user.

## Parameter

string `$user`

  the user whose password should be changed

string `$pass`

  the new plaintext password

## Return value

$return.success-pearerror;

Returns PEAR_Error `FILE_PASSWD_E_EXISTS_ALREADY`, if user already exists.

## Note

This function can not be called statically.

Prev | Home | Next
File_Passwd_Cvs::changeSysUser() | Up | File_Passwd_Cvs::verifyPasswd()