0

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 .

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.