Bitrix API

User extends BaseContext

Table of Contents

Constants

GUEST_USER_ID  = 0

Methods

__construct()  : mixed
User constructor.
getUserGroups()  : array<string|int, mixed>
getUserGroupsHash()  : mixed
getUserId()  : int

Constants

Methods

__construct()

User constructor.

public __construct(CUser|int $user) : mixed
Parameters
$user : CUser|int

getUserGroups()

public getUserGroups() : array<string|int, mixed>
Return values
array<string|int, mixed>

getUserGroupsHash()

public getUserGroupsHash() : mixed

getUserId()

public getUserId() : int
Return values
int

        
On this page

Search results