Add an user to the AuthDigestFile.
$user and $realm must start with an alphabetical charachter and must NOT contain any other characters than alphanumerics, the underline and dash.
the user to add
the realm the user should be in
the plaintext password
Zwraca TRUE w przypadku powodzenia, PEAR_Error w przypadku niepowodzenia.
Tabela 39-1. Możliwe wartości PEAR_Error
| Error Code | Summary |
|---|---|
| FILE_PASSWD_E_EXISTS_ALREADY | user already exists in the supplied realm |
| FILE_PASSWD_E_INVLAID_CHARS | user or realm contains illegal characters |
| Poprzedni | Spis treści | Następny |
| File_Passwd_Authdigest::save() | Początek rozdziału | File_Passwd_Authdigest::changePasswd() |