function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kriskkrisk 

screen scraping license details

Has anyone tried screen scraping license details to make dynamic allocations or freeing up user licenses based on last login etc?

 

If so, please share.

Vinita_SFDCVinita_SFDC

Hello,

 

In Apex code you can Query on User object for LastLoginDate and accordingly deactivate the user to free up the license.