Adds the role assigned to this user to a 'role' field.

        Depends on the 'role' field that comes with a fullDetails=True
        build of the MambuUser.

        Returns the number of requests done to Mambu.

def setRoles(self, *args, **kwargs):
        """Adds the role assigned to this user to a 'role' field.

        Depends on the 'role' field that comes with a fullDetails=True
        build of the MambuUser.

        Returns the number of requests done to Mambu.
        """
        try:
            role = self.mamburoleclass(entid=self['role']['encodedKey'], *args, **kwargs)
        except KeyError:
            return 0
        except AttributeError as ae:
            from .mamburoles import MambuRole
            self.mamburoleclass = MambuRole
            try:
                role = self.mamburoleclass(entid=self['role']['encodedKey'], *args, **kwargs)
            except KeyError:
                return 0
        self['role']['role'] = role

        return 1