Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
accessibleuser.php
1
<?php
9
namespace
Bitrix\Main\Access\User
;
10
11
12
interface
AccessibleUser
13
{
14
public
static
function
createFromId
(
int
$userId):
AccessibleUser
;
15
16
public
function
getUserId
(): int;
17
public
function
getName
(): string;
18
public
function
getRoles
(): array;
19
public
function
getUserDepartments
(): array;
20
public
function
isAdmin
(): bool;
21
public
function
getAccessCodes
(): array;
22
public
function
getPermission
(
string
$permissionId): ?int;
23
public
function
getSubordinate
(
int
$userId): int;
24
25
public
function
setUserId
(
int
$userId):
AccessibleUser
;
26
}
Bitrix\Main\Access\User\AccessibleUser
Definition
accessibleuser.php:13
Bitrix\Main\Access\User\AccessibleUser\getUserId
getUserId()
Bitrix\Main\Access\User\AccessibleUser\getUserDepartments
getUserDepartments()
Bitrix\Main\Access\User\AccessibleUser\getName
getName()
Bitrix\Main\Access\User\AccessibleUser\getAccessCodes
getAccessCodes()
Bitrix\Main\Access\User\AccessibleUser\getRoles
getRoles()
Bitrix\Main\Access\User\AccessibleUser\isAdmin
isAdmin()
Bitrix\Main\Access\User\AccessibleUser\createFromId
static createFromId(int $userId)
Bitrix\Main\Access\User\AccessibleUser\getPermission
getPermission(string $permissionId)
Bitrix\Main\Access\User\AccessibleUser\setUserId
setUserId(int $userId)
Bitrix\Main\Access\User\AccessibleUser\getSubordinate
getSubordinate(int $userId)
Bitrix\Main\Access\User
Definition
accessibleuser.php:9
modules
main
lib
access
user
accessibleuser.php
Создано системой
1.10.0