$role->id() Returns the role name as id kirby/src/Cms/Role.php#L125 $role->id(): string Return type string Parent class Kirby\Cms\Role