PEAR Manual
Prev |  | Next

# File_Passwd_Authdigest::delUserInRealm()

File_Passwd_Authdigest::delUserInRealm() -- Delete a user

## Synopsis

``mixed File_Passwd_Authdigest::delUserInRealm` (string $user, string $inRealm)`

## Description

Delete a certain user in a specific realm.

## Parameter

string `$user`

  the user to remove

string `$inRealm`

  the realm the user should be in

## Return value

Returns `TRUE` on success, PEAR_Error on failure.

Table 37-1. Possible PEAR_Error values

Error Code | Summary
--- | ---
FILE_PASSWD_E_USER_NOT_IN_REALM | user doesn't exist in the supplied realm

## Note

This function can not be called statically.

Prev | Home | Next
File_Passwd_Authdigest::verifyPasswd() | Up | File_Passwd_Authdigest::listUserInRealm()