views:

65

answers:

3

i want to see the all method in

how to get it

thanks

+1  A: 
from google.appengine.api.users import User
print dir(User)
Tamás
+3  A: 

Use the source, luke zjm1126 (or the docs).

Nick Johnson
+3  A: 

As Tamás has answered, you can use the dir function, but I think all the methods are well explained in the docs:

Instance Methods

A User instance provides the following methods:

nickname()

Returns the "nickname" of the user, a displayable name. The nickname will be either the "name" portion of the user's email address if the address is in the same domain as the application, or the user's full email address otherwise.

email()

Returns the email address of the user. Applications should use nickname for displayable names.

user_id()

Returns the unique permanent ID of the user, a str. This ID is always the same for the user regardless of whether the user changes her email address.

jbochi