View source on GitHub |
Specifies whether the user making a request is an application admin.
google.appengine.api.users.IsCurrentUserAdmin()
Because administrator status is not persisted in the datastore,
is_current_user_admin()
is a separate function rather than a member function
of the User
class. The status only exists for the user making the current
request.
Returns | |
---|---|
True if the user is an administrator; all other user types return False .
|