Retrieves user information from the CIPP API.
The Get-CIPPUsers function is used to retrieve user information from the CIPP API. It can retrieve all users for a specific tenant or retrieve details for a specific user.
Specifies the ID of the customer tenant for which to retrieve user information. This parameter is mandatory.
Specifies the ID of the user for which to retrieve details. This parameter is optional.
PS > Get-CIPPUsers -CustomerTenantID "281ceb6e-3d12-4a7f-b571-3c4f35ad85bc"
PS > Get-CIPPUsers -CustomerTenantID "281ceb6e-3d12-4a7f-b571-3c4f35ad85bc" -UserID "[email protected]"