<?php

$path = '../../../';

include($path.'core/includes/header.inc.php');

$admin_user = \Mtc\Core\AdminUser::getCurrent();

$admin_user->load('role');
$admin_user->load('linkedUsers.user.role');

header('Content-Type: text/json');
echo json_encode($admin_user);
