Pergunta

I am working with the Admin SDK and am interested in working with the account activity information that Google provides when you click on the "last account activity" details link on the lower right corner of Gmail. I would like to see what IPs people are logging in from.

I am not seeing anything in the docs. Am I overlooking something? Is there a better API to use?

Foi útil?

Solução

Both the directory.user.get() function and the reports.userUsageReports() function provide last login information but neither supplies IP addresses.

The only way to get IP address information is using the Email Audit API account activity function.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top