def __init__(self, account_id, owner_id, uname, domain, ou): """ HIHCerebrumUser constructor @param account_id: Cerebrum id @type account_id: int @param owner_id: Cerebrum owner id @type owner_id: int @param uname: Cerebrum account name @type uname: str """ CerebrumUser.__init__(self, account_id, owner_id, uname, domain, ou) self.contact_mobile_phone = "" self.contact_phone = ""
def cb_account(self, account_id, owner_id, uname): "wrapper func for easier subclassing" return CerebrumUser(account_id, owner_id, uname, self.ad_domain, self.get_default_ou())
def __init__(self, account_id, owner_id, uname, domain, ou): """NIHCerebrumUser constructor""" CerebrumUser.__init__(self, account_id, owner_id, uname, domain, ou) self.aff_status = None self.exchange_homemdb = None