CUser::Logout()
The method Logout ends the user authorized session and erases user cookie used for automatic authorization.
No parameters.
<? $USER->Logout(); ?>