You are here

function drupal_session_destroy_uid in Session Proxy 7

Ends a specific user's session(s).

Parameters

$uid: User ID.

File

./session.inc, line 100
User session proxy to an advanced component-based interface.

Code

function drupal_session_destroy_uid($uid) {
  SessionProxy_Helper::getInstance()
    ->getBackend()
    ->destroyAllForUser($uid);
}