Determine how many users are using email forwarding

24 views
Skip to first unread message

Billy

unread,
Feb 16, 2012, 9:25:44 AM2/16/12
to google-app...@googlegroups.com
For our Apps for Education domain with around 30,000 users, we would like to find out how many of our users have set up email forwarding. Methods I have read which claim to do this (Email Settings API) only provide this data for a single user per API request, but not for all (or even multiple) users. What we really just need is the total number of users who are using email forwarding. What is the recommended way for us to get this data?

Thanks.

Claudio Cherubino

unread,
Feb 16, 2012, 11:59:42 AM2/16/12
to google-app...@googlegroups.com
Hi Billy,

You can write a script that uses the Provisioning API to programmatically get the list of users in your domain and then call the Email Settings API to retrieve the forwarding settings for each of them.

Claudio

On Thu, Feb 16, 2012 at 6:25 AM, Billy <bananas...@gmail.com> wrote:
For our Apps for Education domain with around 30,000 users, we would like to find out how many of our users have set up email forwarding. Methods I have read which claim to do this (Email Settings API) only provide this data for a single user per API request, but not for all (or even multiple) users. What we really just need is the total number of users who are using email forwarding. What is the recommended way for us to get this data?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/pjMp6GpRD34J.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Billy

unread,
Feb 17, 2012, 11:43:35 AM2/17/12
to google-app...@googlegroups.com
Thanks @Claudio Cherubino , I will go ahead and do things this way. I was hesitant to use the Email Settings API since the need for ~30,000 individual requests, each for a single user, left me thinking I may have been overlooking another method which could grab this info in bulk.
Reply all
Reply to author
Forward
0 new messages