code: public function used()
      {
          return $this->core->api()->response(
              $this->makeContainer(
                  $this->core->auth()->getAllPermissions()
              )
          );
      }
docs: Returns the permissions actually in use by users and roles.
  
  @return mixed