Example #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 = ""
Example #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 = ""
Example #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())
Example #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
Example #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