Validates that the number of group IDs does not exceed the maximum allowed.
If the number of group IDs exceeds the maximum allowed.
The array of group IDs to validate.
Validates that the number of group IDs does not exceed the maximum allowed.
Throws
If the number of group IDs exceeds the maximum allowed.