GroupsByOrganization Deprecated: use Groups with GroupArguments instead.
(ctx context.Context, orgID uuid.UUID)
| 72 | // GroupsByOrganization |
| 73 | // Deprecated: use Groups with GroupArguments instead. |
| 74 | func (c *Client) GroupsByOrganization(ctx context.Context, orgID uuid.UUID) ([]Group, error) { |
| 75 | return c.Groups(ctx, GroupArguments{Organization: orgID.String()}) |
| 76 | } |
| 77 | |
| 78 | type GroupArguments struct { |
| 79 | // Organization can be an org UUID or name |