Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Can we make a trigger to run at a user logout,login or session end. Does the user object gets updated in above events.
triggers are only performed on DML operations , ie, the events can be before/after Insert, before/after Update or before/after delete.
What you want is on log-in and log-out of a user, I don't think you can use triggers for these events.
thanks vishal for the reply.
But there is a field in user object called, LastLoginDate. I think this should be updated in login. But it doesnt come to the trigger.
hmmm, what is your business goal here?
triggers are only performed on DML operations , ie, the events can be before/after Insert, before/after Update or before/after delete.
What you want is on log-in and log-out of a user, I don't think you can use triggers for these events.
thanks vishal for the reply.
But there is a field in user object called, LastLoginDate. I think this should be updated in login. But it doesnt come to the trigger.
hmmm, what is your business goal here?