Bitrix Site Manager

Delete

bool
Delete(
 int ID
);

The method Delete deletes a specified profile.

Before a profile is deleted, you should check whether it can be deleted using CForumUser::CanUserDeleteUser.

Parameters

ParameterDescription
ID The ID of the profile to be deleted.

Return Values

Returns true on success, or false otherwise.