Hi Tony,

Our domain went live to students this past week and I've started to
use the Reporting API.  I was reading the documentation on the
Reporting API page and for the "Accounts Report" it states that paging
isn't necessary if you have less than 100,000 users in your domain.
When I run this report for example five times this is how many records
I get back 2,970, 14,101, 4,678, 1,081 and 1,081.  Our domain has
22,918 students, so the best data set I can report on is only 14,101
which is not good.

Also what is the relationship between the last_login_date versus
last_web_mail_date?  I would have thought last_web_mail_date would be
used to find out if the student accessed there mail instead of
last_login_date because a student could login to look at there
Calendar, but not email - correct?  The last_login_date would still
record that day I'm assuming.

Also, the date in my reports "19691231", is that just a place holder
value instead of using zero?

Thanks

Fred


P.S. If you want me to open a support ticket I will do that.

On Mar 10, 1:18 am, "Tony (Google)" <[email protected]> wrote:
> 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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