Re: Re : Re: [google-apps-apis] Restore suspended user who have been suspended at a given date

20 views
Skip to first unread message

Claudio Cherubino

unread,
Jun 29, 2011, 12:07:56 PM6/29/11
to google-app...@googlegroups.com
Robert,

It is not clear from the documentation but the 'suspension_reason' field contains both the suspension reason and a time/date entry.
Unfortunately, you'll have to parse the field yourself to split the two pieces of information.

Claudio


On Wed, Jun 29, 2011 at 5:00 PM, robert dupont <robert....@gmail.com> wrote:
Thank you for your answer Claudio,

But in the Reporting API in Account_Report part, I can't see the users who are newly suspended (suspended today) and I can't find in  Field Definitions for the Accounts Report a field corresponding to my query.

Regards,

Robert


--
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/-/-QfTefcJUAIJ.
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.

robert dupont

unread,
Jun 29, 2011, 12:14:51 PM6/29/11
to google-app...@googlegroups.com
Ok thank for your precision, but just to be sure, if a user is suspended now I won't be able to see him in the account report until tomorrow? Because I made a test and  the status of the suspended user is still "ACTIVE".

Thanks

Robert.

2011/6/29 Claudio Cherubino <ccher...@google.com>

Claudio Cherubino

unread,
Jun 29, 2011, 12:19:59 PM6/29/11
to google-app...@googlegroups.com
Yes, the Reporting API doesn't provide real-time results and reports for a particular day are not available until 12 p.m. Pacific time the following day.

Claudio 

robert dupont

unread,
Jun 29, 2011, 12:28:46 PM6/29/11
to google-app...@googlegroups.com
Ok thanks a lot just a last question, if I look  the following example below, the suspension date is the date in red?Am I right?

20060808, 000000ccccc33333, "ba...@example.com", "SUSPENDED", 2048, 29057823, , , 20060801, 20060808, 20060807, "Simpson", "Bart", , , "Suspended for abuse", 20060617, 2006-08-01 13:15:29, 2006-08-08, 2006-08-08 15:12:43, 2006-08-07 19:43:12, 2006-06-17 12:29:17

Robert

2011/6/29 Claudio Cherubino <ccher...@google.com>

Claudio Cherubino

unread,
Jun 29, 2011, 12:31:40 PM6/29/11
to google-app...@googlegroups.com
Looks like the example is not correct.
As I said the field "suspension_reason" should contain both the reason ("Suspended for abuse") and the date/time.
The field in red is likely to be the next one, i.e. "last_pop_date".

Claudio

Chet

unread,
Jun 29, 2011, 12:35:47 PM6/29/11
to google-app...@googlegroups.com
the suspension_field will look like this:
"Disabled by operator (Thu Mar  3 00:46:56 2011 )"

 

robert dupont

unread,
Jun 29, 2011, 12:37:40 PM6/29/11
to google-app...@googlegroups.com
Ok thanks  I found this example on the admin panel (Advanced Tools > Usage & reports > Additionnal reports), ok maybe it's an old example. Have you got a correct example?

Thanks a lot

robert dupont

unread,
Jun 29, 2011, 12:41:13 PM6/29/11
to google-app...@googlegroups.com
Ok thanks Chet

2011/6/29 Chet <chet...@gmail.com>
the suspension_field will look like this:
"Disabled by operator (Thu Mar  3 00:46:56 2011 )"

 

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
Reply all
Reply to author
Forward
0 new messages