Bitrix API

UserSubordinate

Table of Contents

Constants

RELATION_DEPARTMENT  = 2
RELATION_DIRECTOR  = 4
RELATION_HIMSELF  = 1
RELATION_OTHER  = 0
RELATION_OTHER_DIRECTOR  = 5
RELATION_SUBORDINATE  = 3

Methods

__construct()  : mixed
getDepartmentsByUserId()  : array<string|int, mixed>
getParentDepartments()  : array<string|int, mixed>
getSubordinate()  : int

Constants

Methods

__construct()

public __construct(int $userId) : mixed
Parameters
$userId : int

getDepartmentsByUserId()

public static getDepartmentsByUserId(int $userId) : array<string|int, mixed>
Parameters
$userId : int
Return values
array<string|int, mixed>

getParentDepartments()

public static getParentDepartments(int $id) : array<string|int, mixed>
Parameters
$id : int
Return values
array<string|int, mixed>

getSubordinate()

public getSubordinate(int $userId) : int
Parameters
$userId : int
Return values
int

        
On this page

Search results