Logo Search packages:      
Sourcecode: zope-exuserfolder version File versions

def zope-exuserfolder-0.50.0::exUserFolder::exUserFolder::getUsers (   self  ) 

Return a list of user objects or [] if no users exist

Definition at line 756 of file exUserFolder.py.

00756                         :
            """Return a list of user objects or [] if no users exist"""
            data=[]
            try:
                  items=self.listUsers()
                  for people in items:
                        user=User({'name':            people['username'],
                                       'password':    people['password'],
                                       'roles':       people['roles'], 
                                       'domains':     ''},
                                      self.currentPropSource,
                                      self.cryptPassword,
                                      self.currentAuthSource,
                                      self.currentGroupSource)
                        data.append(user)
            except:
                  import traceback
                  traceback.print_exc()
                  pass
                  
            return data

      getUsers__roles__=('Anonymous','Authenticated')
      


Generated by  Doxygen 1.6.0   Back to index