Changeset 1216


Ignore:
Timestamp:
12/12/06 17:02:30 (13 years ago)
Author:
jukka
Message:

Worked on #1029, spent 2.5h.

Location:
trunk
Files:
3 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MemberFolder.py

    r1215 r1216  
    494494            results=self.portfolio.queryCatalog(meta_type=filter, Creator=self.getMemberFolder().getId())  
    495495        return len(results) 
     496 
     497    def getGroups(self): 
     498        """ Gets groups where member belongs""" 
     499        userobj = self.acl_users.getUserById(self.getId()) 
     500        return userobj.getGroups() or [] 
     501 
    496502 
    497503    def getSamples(self): 
Note: See TracChangeset for help on using the changeset viewer.