---
schema_version: "1"
id: 28d422ff2d818b4e6f2e5b91818de069218c06a21fb8252c897d660e397553d3
title: ActivePermSetLicenseMetric
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_activepermsetlicensemetric.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_activepermsetlicensemetric.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 14e80ac7b44e220ebd8512e5ce5b304fb466c52fabdebda2de9858065c64394b
description: Represents the number of active, assigned, and purchased permission set licenses in the org. This object is available in API version 52.0 and later.
---
# ActivePermSetLicenseMetric

Represents the number of active, assigned, and purchased permission set licenses in the org. This object is available in API version 52.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Fields

| Field | Details |
| --- | --- |
| ActiveUserCount | 
Type

int

Properties

Filter, Group, Nillable, Sort

Description

Number of users assigned this permission set license who have logged in within the last 30 days.



 |
| AssignedUserCount | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Number of users assigned this permission set license.



 |
| DeveloperName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The unique name of this permission set license object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.



 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The label of the permission set license.



 |
| MetricsDate | 

Type

date

Properties

Filter, Group, Sort

Description

Date that permission set license metrics were collected.



 |
| PermissionSetLicenseId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the permission set license.

This is a relationship field.

Relationship Name

PermissionSetLicense

Relationship Type

Lookup

Refers To

PermissionSetLicense



 |
| TotalLicenses | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The total number of this permission set licenses that are available to your org.



 |