Esempio n. 1
0
 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 = ""
Esempio n. 2
0
 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 = ""
Esempio n. 3
0
 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())
Esempio n. 4
0
 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
Esempio n. 5
0
 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