Created
July 10, 2014 22:31
-
-
Save pcon/b9162450b4e899de0b68 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Map<DateTime, User> userMap = new Map<DateTime, User>(); | |
for (User u: [select LastLoginDate from User where Id in:userIds]) { | |
userMap.put(u.LastLoginDate, u); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment