Nette\Security\Identity::getRoles PHP Метод

getRoles() публичный Метод

Returns a list of roles that the user is a member of.
public getRoles ( ) : array
Результат array
    public function getRoles()
    {
        return $this->roles;
    }