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

def LDAPUserFolder::LDAPUserSatellite::LDAPUserSatellite::getGroupDetails (   self,
  encoded_cn 
)

Return all group details 

Definition at line 325 of file LDAPUserSatellite.py.

00325                                          :
        """ Return all group details """
        result = []
        cn = urllib.unquote(encoded_cn)
        luf = self.getLUF()

        res = luf._delegate.search( self.groups_base
                                  , self.groups_scope
                                  , 'cn=%s' % cn
                                  , ['uniqueMember', 'member']
                                  )

        if res['exception']:
            result = (('Exception', res['exception']),)
        elif res['size'] > 0:
            result = res['results'][0].items()
            result.sort()

        return tuple(result)


    security.declareProtected(manage_users, 'getGroupedUsers')
    def getGroupedUsers(self, groups=None):


Generated by  Doxygen 1.6.0   Back to index