Hi Jorge,

You can obtain the last_login_date of your users through the Accounts
Report offered by the Reporting API.  Once you identify the accounts
to be deleted, you can use code similar to what you used for creating
users but calling client.deleteUser(String username) for accounts
deletion.

Thanks,

--Tony

On Mar 9, 7:48 am, Jorge Sanchez <[email protected]> wrote:
> Hello, we are working on a project with the provisioning API in Java. We can
> create a large number of users with it and now we want to delete users also
> in large numbers. The idea is to consult the accounts and the users that
> haven't accessed their accounts for over a month, will be deleted.
>
> We'd like to know if you have some sort of example to get started with the
> second part of our application, thank you. Any other recommendation?
>
> Sincerely,
>
> Jorge
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to