UserSession

Deprecated!

since 4.3.0<br /> Use AccountService instead

Namespace

IO\Helper

Properties
Type Name Description

AccountService

$accountService

Methods
public __construct($accountService)

UserSession constructor.

Parameters

Type

Name

Description

AccountService

$accountService

public getCurrentContactId():int
Deprecated!

since 4.3.0 Use AccountService::getAccountContactId instead

Get the current contact ID

public isContactLoggedIn():bool
Deprecated!

since 4.3.0 Use AccountService::getIsAccountLoggedIn instead

Check whether contact is logged in