---
schema_version: "1"
id: db0338164a9b923570ae0cc6585b3581dcc34c8c82bf066d05b7503ca9785759
title: ActiveProfileMetric
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_activeprofilemetric.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_activeprofilemetric.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5468fd86d31e36bdfb33b99c08b24b38328308f6bd61069a52386ca5e697aac7
description: Represents the profile associated with the active, assigned, and purchased user licenses. This object is available in API version 52.0 and later.
---
# ActiveProfileMetric

Represents the profile associated with the active, assigned, and purchased user licenses. 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 profile who have logged in within the last 30 days.



 |
| AssignedUserCount | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Number of users assigned this profile.



 |
| MetricsDate | 

Type

date

Properties

Filter, Group, Sort

Description

Date that profile metrics were collected.



 |
| ProfileId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the profile.

This is a relationship field.

Relationship Name

Profile

Relationship Type

Lookup

Refers To

Profile



 |
| UserLicenseId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the user license.

This is a relationship field.

Relationship Name

UserLicense

Relationship Type

Lookup

Refers To

UserLicense



 |