Package turbogears :: Package identity :: Module soprovider :: Class TG_User

Class TG_User

source code

sqlobject.SQLObject --+
                      |
                     TG_User

Reasonably basic User definition.

Instance Methods
 
set_password_raw(self, password)
Save the password as-is to the database.
source code
Class Variables
  user_name = UnicodeCol(length= 16, alternateID= True, alternat...
  email_address = UnicodeCol(length= 255, alternateID= True, alt...
  display_name = UnicodeCol(length= 255)
  password = UnicodeCol(length= 40)
  created = DateTimeCol(default= datetime.now)
  groups = RelatedJoin('TG_Group', intermediateTable= 'user_grou...
Class Variable Details

user_name

Value:
UnicodeCol(length= 16, alternateID= True, alternateMethodName= 'by_use\
r_name')

email_address

Value:
UnicodeCol(length= 255, alternateID= True, alternateMethodName= 'by_em\
ail_address')

groups

Value:
RelatedJoin('TG_Group', intermediateTable= 'user_group', joinColumn= '\
user_id', otherColumn= 'group_id')