Delete
CDBResult CUser::Delete( int id )
The method deletes a user. Return a boolean value. Static method.
Parameters
Parameter | Description |
---|---|
id | User ID. |
See Also
- CUser::Add
- CUser::Update
- "OnBeforeUserDelete" event
- "OnUserDelete" event
Examples of use
<? if (CUser::Delete(5)) echo "User is deleted."; ?>
© «Bitrix24», 2001-2024