Package backend :: Package server :: Module rhnUser :: Class User
[hide private]
[frames] | no frames]

Class User

source code

Main User class

Instance Methods [hide private]
 
__init__(self, username, password) source code
 
__init_info(self)
init web_user_personal_info
source code
 
__init_perms(self)
init web_user_contact_permission
source code
 
__init_site(self)
init web_user_site_info
source code
 
check_password(self, password, allow_read_only=False)
simple check for a password that might become more complex sometime
source code
 
set_org_id(self, org_id) source code
 
getid(self) source code
 
set_contact_perm(self, name, value)
handling of contact permissions
source code
 
set_info(self, name, value)
set a certain value for the userinfo field.
source code
 
get_roles(self) source code
 
reload(self, user_id)
Reload the current data from the SQL database using the given id
source code
 
create_session(self) source code
Method Details [hide private]

set_info(self, name, value)

source code 

set a certain value for the userinfo field. This is BUTT ugly.