Bitrix Site Manager

CUser::Delete

CDBResult
CUser::Delete(
 int id
)

The method Delete deletes a user and returns an instance of the CDBResult class.

Parameters

ParameterDescription
id The user ID.

See Also

Example



<?
if (CUser::Delete(1)) echo "User deleted.";
?>