27 throw new BaseException(
'you should send type from Dictionary');
54 return new Role($roleEntity);
63 return new Role($company);
68 $group =
new Group(
'');
70 return new Role($group);
112 return UserTable::query()
113 ->addFilter(
'=ID', $id)
114 ->setSelect([
'NAME',
'LAST_NAME',
'ID',
'NOTIFICATION_LANGUAGE_ID',
'EMAIL',
'ACTIVE',
'EXTERNAL_AUTH_ID'])
126 return (
new User($user->getName()))
128 ->setId($user->getId())
129 ->setLanguageId($user->get(
'NOTIFICATION_LANGUAGE_ID') ?? LANGUAGE_ID)
static getCompanyRole(int $id)
static getGroupRole(int $id)
static getUserRole(int $id)
static getAttendeeRole(int $id)
static getRole(int $id, string $type)
static getUserObject(int $id)
static createUserRoleEntity(Main\EO_User $user)
setLastName(string $lastName=null)