By mourad-zitouni, 26 December, 2021 How to check current user role This time we will check if the current user has role 'administrator', we will use a simple controller example to demonstrate that. Tags drupal 9 user role