General Introduction
Features
Settings
Email system
Date and Time
URL rewrite
Special constants
Special variables
Complex logic in filter
Add
Authorize
CanDoFileOperation
ChangePassword
Delete
GetAnonymousUserID
GetByID
GetByLogin
GetCount
GetEmail
GetExternalAuthList
GetFirstName
GetFullName
GetID
GetLastName
GetList
GetLogin
GetParam
GetPasswordHash
GetUserGroup
GetUserGroupArray
GetUserGroupList
GetUserGroupString
IsAdmin
IsAuthorized
IsOnLine
Login
LoginByHash
Logout
Register
SavePasswordHash
SendPassword
SendUserInfo
SetLastActivityDate
SetParam
SetUserGroup
SetUserGroupArray
SimpleRegister
Update
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
Up