code: def getrolesurl(idrole='', *args, **kwargs):
      
      url = getmambuurl(*args,**kwargs) + "userroles" + (("/" + idrole) if idrole else "")
      return url
docs: Request Roles URL.
  
      If idrole is set, you'll get a response adequate for a MambuRole
      object.  If not set, you'll get a response adequate for a MambuRoles
      object too.  See mamburoles module and pydoc for further
      information.
  
      See Mambu official developer documentation for further details.