File_SMBPasswd::modUser()

File_SMBPasswd::modUser() -- modify an exsting account with the given plaintext-password.

Referentiesamenvatting

mixed File_SMBPasswd::modUser (string $user, int $userid [, string $pass = '' [, string $comment = '' [, string $flags = '']]])

Beschrijving

This method modifies an existing user, using a plaintext-password.

Parameter

Return waarde

mixed - Geeft TRUE terug bij success, PEAR_Error als het faalt.

Note

Deze functie kan niet statisch worden aangeroepen.

Note that the user to be added must already exist in the system password file.

Zie

File_SMBPasswd::addAccount()
File_SMBPasswd::modAccountEncrypted()
File_SMBPasswd::modAccount()

Voorbeeld