Add ability to filter only active license seats in the Users API

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Users have difficulty querying active license seats. Right now we can only use the API to query for a full list of users with no filtering. This feature would allow admins to query using_license_seat as an optional parameter.

Problem to solve

There are limited filtering options and the ability to filter using_license_seat does not exist.

Proposal

A new parameter for the Users API.

GET /users?using_license_seat=true would return only users using a license seat so that billing can be calculated faster.

Intended users

Cameron (Compliance Manager) will use this feature to track annual GitLab EE usage and to provide billing estimates.

Feature Usage Metrics

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖