diff --git a/src/UwRoles/UwRoles.php b/src/UwRoles/UwRoles.php
index a555901d71e8fe4617f1ed966ef4800b1c338ae7..c64c56580a3c623648d1fb56ce4438dbff19fc30 100644
--- a/src/UwRoles/UwRoles.php
+++ b/src/UwRoles/UwRoles.php
@@ -60,6 +60,24 @@ class UwRoles {
     ];
   }
 
+  /**
+   * Gets all the role ids in the system, UW and Drupal.
+   *
+   * @return array
+   *   Array of all role ids.
+   */
+  public static function getAllRoles(): array {
+
+    // Get the UW roles.
+    $roles = UwRoles::getUwRoleIds();
+
+    // Append the Drupal roles.
+    $roles = array_merge($roles, UwRoles::getDrupalRoleIds());
+
+    // Return all the roles.
+    return $roles;
+  }
+
   /**
    * Gets the label for a UW role.
    *
@@ -90,6 +108,12 @@ class UwRoles {
       case 'uw_role_form_results_access':
         return 'Form results access';
 
+      case 'anonymous':
+        return 'Anonymous';
+
+      case 'authenticated':
+        return 'Authenticated';
+
       default:
         return '';
     }