$_person
$_person :
The person the account belongs to
Helper class for account management
delete() : boolean
Deletes the current user account.
This will cleanup all information associated with the user that is managed by the core (like privilege records).
This call requires the delete privilege on the person object, this is enforced using require_do.
Indicating success.
add_username_constraint(\midcom_core_query $query, string $operator, string $value)
Modify a query instance for searching by username
\midcom_core_query | $query | The QB or MC instance to work on |
string | $operator | The operator for the username constraint |
string | $value | The value for the username constraint |
add_username_order(\midcom_core_query $query, string $direction)
Add username order to a query instance
\midcom_core_query | $query | The QB or MC instance to work on |
string | $direction | The value for the username constraint |