+ Start a Discussion
Aakar MehraAakar Mehra 

User License Expiry Date

I need to know if there is  any way i can access user license expiration date through query or with some api?
MKRMKR
Hi,

If you are talking about package license expiration, try the following:
 
SELECT PackageLicense.ExpirationDate, PackageLicense.NamespacePrefix, UserId FROM UserPackageLicense WHERE UserId = '005...'
UserPackageLicense contains the linkage between user and package licence. The PackageLicense contains the expiration date.

Regards,
MKR