You need to sign in to do that
Don't have an account?
Ankit Agarwal 74
unable to get LastLoginDate
Hi All,
I need One help.
i m working on community and want to trace the last login date of community user.
i used query like:
Select id, Email, LastLoginDate From User
but the column for LastLoginDate is coming blank...
i need LastLoginDate for further implementation, but i am unnable to populate it.
please help me to resolve it.
thanks
I need One help.
i m working on community and want to trace the last login date of community user.
i used query like:
Select id, Email, LastLoginDate From User
but the column for LastLoginDate is coming blank...
i need LastLoginDate for further implementation, but i am unnable to populate it.
please help me to resolve it.
thanks
All Answers
Select id , Username, Email,LastLoginDate,ContactId, AccountId, IsPortalEnabled from User where IsPortalEnabled = true
You can update lastlogin like below