Home > PHP > Function > KADM5 > kadm5_delete_principal()

kadm5_delete_principal()

kadm5_delete_principal - Deletes a kerberos principal

Syntax

bool kadm5_delete_principal (resource $handle, string $principal)

Arguments

  • handle - A KADM5 handle.
  • principal - The removed principal.

Description

Removes the principal from the Kerberos database.

Version

PHP PECL kadm5 >= 0.2.3

Return value

Returns TRUE on success or FALSE on failure.