Python 3.9 is now generally available.

Module: google.appengine.api.users

The User Python datastore class to be used as a datastore data type.

Classes

class Error: Base User error type.

class NotAllowedError: The requested redirect URL is not allowed.

class RedirectTooLongError: The generated redirect URL was too long.

class User: Provides the email address, nickname, and ID for a user.

class UserNotFoundError: No email argument was specified, and no user is logged in.

Functions

CreateLoginURL(...): Computes the login URL for redirection.

CreateLogoutURL(...): Computes the logout URL and specified destination URL for the request.

GetCurrentUser(...): Retrieves information associated with the user that is making a request.

IsCurrentUserAdmin(...): Specifies whether the user making a request is an application admin.

create_login_url(...): Computes the login URL for redirection.

create_logout_url(...): Computes the logout URL and specified destination URL for the request.

get_current_user(...): Retrieves information associated with the user that is making a request.

is_current_user_admin(...): Specifies whether the user making a request is an application admin.