Method SearchGroupsAsync(string?, string?, int, int, CancellationToken)

Assembly: redb.Identity.Core.dll

B.2 — flat paginated search across ALL groups (root + nested),
optionally filtered by name substring and groupType. Powers the
/admin/groups list page where operators want to find a single
group across a deeply nested tree without expanding nodes.

public Task<(List<RedbObject<GroupProps>> Items, int Total)> SearchGroupsAsync(string? namePattern, string? groupType, int offset, int count, CancellationToken ct = default)