You can download the config file through the webui. It's an sqlite3 database containing usernames and some basic information. Share permissions are slightly more complex because it's actual filesystem metadata. If you download a debug we store ACL info for shares there.