I want to know when all User Licenses will be expire "Expiration Date I want to know " How can i Find it by apex soql query .

1 Answer 1


You can see the Expiration date of all licenses under "Company Info" which is accessible via the organization object. Unfortunately, in the object User License there is no expiration date, only in PermissionSetLicense. However, the User License seems to be linked to Profile, as you can query via parent-child relationship Profile.UserLicense.Name FROM User.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .