Changeset 984
- Timestamp:
- 05/03/03 09:27:14 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldap.py
r983 r984 21 21 # 22 22 # $Log$ 23 # Revision 1.5 2003/05/03 07:27:14 jalet 24 # Should be able to list a group's members 25 # 23 26 # Revision 1.4 2003/05/01 21:08:44 jalet 24 27 # More work on LDAP … … 130 133 def getGroupMembersNames(self, groupname) : 131 134 """Returns the list of user's names which are member of this group.""" 132 pass 135 result = self.doSearch("cn=%s" % groupname, ["memberUid"], base="cn=%s,ou=Group" % groupname) 136 if result is not None : 137 (groupid, fields) = result[0] 138 return fields["memberUid"] 133 139 134 140 def getUserGroupsNames(self, userid) :