Others Logins As Me widget list shows the User who logged in as you, Event of login or logout, and the Date Time in GMT of the event.
Starting on Home Page
Initially the widgets show zero days of log in information. The widgets load this way to avoid using resources until the user selects the number of days for either My Logins and/or Others Logins.
*Note: Dont bother clicking the Get History button at this point. You wont be able to get any of your update history without selecting some days range first.
On either widget the user can select the number of days past for displaying login information. Options are fixed by picklist None (=0), 7, 15, 30, 90, or 180.
(Since personal logins are common My Personal Logins selection is limited to 90 days although obviously that result could be a long list.)
Get History
After setting the number of days on My Personal Logins widget you can use Get History and this widgets days value will be passed to the history widget.
There you can select an object to view your TRACKED* updates for the past selected days. (see next tile)
* Only objects and their fields with history tracking set will be displayed.
On the updates history widget select an object Account, Opportunity, or Lead to see what updates you made - on fields that are tracked - in the timeframe selected from My Personal Logins widget.
Notice the message "Your updates for past 7 days" letting you know the number of days you selected from My Personal Logins.
Now just select one of the objects you want to see your history of updates. Selecting triggers a server request that will return update history for the selected object.
If you selected Account you will see something like this.
The output table as you can see contains...
Select left to right top to bottom (or opposite) and Cntl-C it.
Cntl-V it into your favorite spreadsheet.
This is where the whole widget set becomes quite useful. You can combine update data with your logins and others logins into a single sheet. Paste each set with timestamps aligned and sort on the datetime.
(*** Be sure to select the same number of days for personal and others logins before copying the data from the resulting page output.)
Notice the column distinction between your personal logins and others logins each as described in the first screen.
Now you see how simple it is to observe the possibilty that a proxy admin logged in as you MIGHT have made the updates.
In this example Fred Jones had logged in as you right before a couple of Account updates were made. Now you can ask Fred why those items were changed in case you did not authorize it.
Your valuable data is now a little more secure with this capability.
A sales rep may want to keep an eye on her or his adoption of Salesforce and can quickly see from their homepage the logins they have used over a number of different selectable time periods.
Or perhaps a simple memory jog for a busy rep on the road to see where they were when they last logged in on a mobile device.
A sales manager may have asked an admin to log in as her to test some functionality and would like to see if the admin had done that and when. She can figure out the approximate local time of a login (from displayed GMT) and see if test Accounts, Opportunities, etc. were updated in that particular timeframe.
You know you did not perform some Account, Opportunity, or Lead updates that show that you did. You can determine if an admin logged in as you and made changes on your behalf.
Get a range of others logins as well as the same range of history updates on the object(s), stack the results in a spreadsheet, then sort on datetime as shown in the last guide slide above.
Using this procedure can benefit your organization in keeping reasonable quality control on important data.
Type | Name | Purpose |
---|---|---|
Component | iLoggedIn | Personal login widget component |
Component | WhoLoggedIn | Others login widget component |
Component | showMyHistory | History updates widget component |
Apex Class | LoginController | Logins server-side controller |
Apex Class | LoginControllerTest | Test class for logins controller |
Apex Class | HistoryController | History server-side controller |
Apex Class | HistoryControllerTest | Test class for history controller |