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

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

Return the username of a user without a group prefix

Definition at line 237 of file GRUFUser.py.

00237                                            :
        """Return the username of a user without a group prefix"""
        if self.isGroup() and \
          self._original_name[:len(GROUP_PREFIX)] == GROUP_PREFIX:
            return self._original_name[len(GROUP_PREFIX):]
        return self._original_name

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


Generated by  Doxygen 1.6.0   Back to index