Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine - How to get a list of all app administrators?

I want to programmatically retrieve a list of all the app administrators from within the app. However, I've found no APIs in User Service section that can accomplish this. Is there any way or any undocumented API to do this?

like image 622
schemacs Avatar asked Nov 05 '22 06:11

schemacs


1 Answers

No, there is not an API to programatically get a list of administrators for your app. However, you could create an augmented user model which includes extra information like this.

I'm not sure why you need a list of all admins, but if you just wanted to e-mail them then you could use the send_mail_to_admins() function.

like image 146
David Underhill Avatar answered Nov 09 '22 02:11

David Underhill