function readOnly(count){ }
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
I am trying to show up user last login date in a visualpage but its not showing. Any reason?
Can u please share the code snippet which you are using to show the last login date. Are you using global variable $user?
In case you are using global variable $user then perhaps this information cannot be extracted using $user. May be you try this instead:-
1. Get id of current user from {!$user.Id}
2. Fire a query to query the LastLoginDate of that user and try to print it.
In case you are already doing that then are you rendering the placeholder for lastlogindate correct?
Do share the code snippet to enable me to get a better insight of the issue faced by you.
hi,
why is it thatwe are able to access some parts of the global variable $user?
It's possible to access !($User.FirstName),($User.LastName)},etc but we cannot access :{!$User.LastLoginDate}.
Is there any specific reason .
Kindly let me know.
Only reason is that salesforce has now exposed that information, and perhaps they would be provided in coming releases.
In case you want this information to be made available post it as an idea on Idea Exchange.
Can u please share the code snippet which you are using to show the last login date. Are you using global variable $user?
In case you are using global variable $user then perhaps this information cannot be extracted using $user. May be you try this instead:-
1. Get id of current user from {!$user.Id}
2. Fire a query to query the LastLoginDate of that user and try to print it.
In case you are already doing that then are you rendering the placeholder for lastlogindate correct?
Do share the code snippet to enable me to get a better insight of the issue faced by you.
hi,
why is it thatwe are able to access some parts of the global variable $user?
It's possible to access !($User.FirstName),($User.LastName)},etc but we cannot access :{!$User.LastLoginDate}.
Is there any specific reason .
Kindly let me know.
Only reason is that salesforce has now exposed that information, and perhaps they would be provided in coming releases.
In case you want this information to be made available post it as an idea on Idea Exchange.