+ Start a Discussion
srinivas anantharamsrinivas anantharam 

can we automate the deactvation of users ?

how can we automate the deactivation of users if the user is inactve for certain time?
Vijay NagarathinamVijay Nagarathinam
Hi Srinivas,

Yes you can deactivate the users using apex triggers.

Thanks,
Vijay
James WooleyJames Wooley
You should be able to do this using a time-based workflow with a field update x days after the last login date to set is active to false.