File_Passwd_Smb::verifyPasswd()

File_Passwd_Smb::verifyPasswd() -- Verify password

Referentiesamenvatting

mixed File_Passwd_Smb::verifyPasswd (string $user, string $pass)

Beschrijving

Verifies an account with the given plaintext password.

Parameter

string $user

username

string $pass

the plaintext password

Return waarde

Returns TRUE if passwds equal, FALSE if they don't or PEAR_Error on failure.

Tabel 38-1. Mogelijke PEAR_Error waarden

Error CodeSummary
FILE_PASSWD_E_EXISTS_NOTuser doesn't exist
FILE_PASSWD_E_UNDEFINEDif account is disabled

Note

Deze functie kan niet statisch worden aangeroepen.