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

def zope-groupuserfolder-3.1.1::GRUFUser::GRUFUserAtom::getId (   self,
  unprefixed = 0 
)

Get the ID of the user. The ID can be used, at least from
Python, to get the user from the user's UserDatabase

Definition at line 266 of file GRUFUser.py.

00266                                    :
        """Get the ID of the user. The ID can be used, at least from
        Python, to get the user from the user's UserDatabase
        """
        # Return the right id
        if self.isGroup() and not self._original_name.startswith(GROUP_PREFIX) and not unprefixed:
            return "%s%s" % (GROUP_PREFIX, self._original_name)
        return self._original_name

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


Generated by  Doxygen 1.6.0   Back to index