<div dir="ltr">I am attempting to disable users by their last Google email login date. I am currently importing the last login date and account creation date from Google. I have created custom extensions for the attributes called creationDate and lastLogin. The data in the attributes is formatted as: 2021-01-08T00:04:09.000Z<div><br></div><div>Ultimately I would like to do the following:<div><br></div><div>-  If the users' last login is greater than 2 years from today's date, the Google account (projection) associated with the user will be disabled.</div><div>-  After 1 year of being disabled the projection associated with the user is deleted.</div><div><br></div><div>I suspect this would be handled using a scheduled task but that is about as far as my knowledge goes. If anyone has any experience with similar requirements any help would be appreciated.</div><div><br></div><div>Thank you,<br><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><p style="padding:0px;font-size:16px;line-height:1.6;color:rgb(75,73,69);font-family:caecilialtstd-roman,serif;font-weight:bold;margin:0px!important">Matt Widhalm</p></div></div></div></div></div></div></div>