Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
Show all 5 items in the list
Tags used for linking issues. [ID: 1172495]
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Before opening a new issue, please search for other related issues , click the ★ to subscribe to updates, and click
+1
to vote.Description
Depending on the API endpoint used I get 2 different dates for the lastLoginTime value for the User object in GWS directory AdminDirectory.Users.get() gives me: creationTime: '2024-07-30T15:32:53.000Z', lastLoginTime: '2025-03-25T09:27:05.000Z',
Whereas AdminDirectory.Users.list() gives me: creationTime: '2024-07-30T15:32:53.000Z', lastLoginTime: '2025-03-17T13:39:58.000Z',
I have tried this using both endpoints separately and in the same App script function.
Impact
This skews the days since last logged in and could result in users being unjustly disabled due to inactivity when strict inactivity policies apply