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

def zope-groupuserfolder-3.1.1::GRUFUser::GRUFUserAtom::getRoles (   self  ) 

Return the list (tuple) of roles assigned to a user.
THIS IS WHERE THE ATHENIANS REACHED !

Definition at line 276 of file GRUFUser.py.

00276                       :
        """
        Return the list (tuple) of roles assigned to a user.
        THIS IS WHERE THE ATHENIANS REACHED !
        """
        if self._all_roles is not None:
            return self._all_roles

        # Return user and groups roles
        self._all_roles = GroupUserFolder.unique(self.getUserRoles() + self.getGroupRoles())
        return self._all_roles

    security.declarePublic('getUserRoles')
    def getUserRoles(self):


Generated by  Doxygen 1.6.0   Back to index