Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Remove all local roles for a user.

src/z/o/Zope2-2.13.22/src/OFS/role.py   Zope2(Download)
    def manage_delLocalRoles(self, userids, REQUEST=None):
        """Remove all local roles for a user."""
        BaseRoleManager.manage_delLocalRoles(self, userids)
        if REQUEST is not None:
            stat='Your changes have been saved.'

src/z/o/Zope-HEAD/src/OFS/role.py   Zope(Download)
    def manage_delLocalRoles(self, userids, REQUEST=None):
        """Remove all local roles for a user."""
        BaseRoleManager.manage_delLocalRoles(self, userids)
        if REQUEST is not None:
            stat='Your changes have been saved.'