diff options
author | clokep <clokep@users.noreply.github.com> | 2023-01-25 12:02:18 +0000 |
---|---|---|
committer | clokep <clokep@users.noreply.github.com> | 2023-01-25 12:02:18 +0000 |
commit | 4103770037b117a5740f4c44929507edd1b3cbba (patch) | |
tree | 0d0cb532cca10873e5af32cad2566fde95352438 /develop/print.html | |
parent | deploy: 4607be0b7b2165710dc2e5e68ec4281b593ca8c5 (diff) | |
download | synapse-4103770037b117a5740f4c44929507edd1b3cbba.tar.xz |
deploy: b15f0758e59c8705ff50a414a5683286b5972381
Diffstat (limited to 'develop/print.html')
-rw-r--r-- | develop/print.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/develop/print.html b/develop/print.html index 2c7ee23809..9d92b2865e 100644 --- a/develop/print.html +++ b/develop/print.html @@ -15082,6 +15082,11 @@ small processing times.</p> <h2 id="what-users-are-registered-on-my-server"><a class="header" href="#what-users-are-registered-on-my-server">What users are registered on my server?</a></h2> <pre><code class="language-sql">SELECT NAME from users; </code></pre> +<h2 id="how-can-i-export-user-data"><a class="header" href="#how-can-i-export-user-data">How can I export user data?</a></h2> +<p>Synapse includes a Python command to export data for a specific user. It takes the homeserver +configuration file and the full Matrix ID of the user to export:</p> +<pre><code class="language-console">python -m synapse.app.admin_cmd -c <config_file> export-data <user_id> +</code></pre> <h2 id="manually-resetting-passwords"><a class="header" href="#manually-resetting-passwords">Manually resetting passwords</a></h2> <p>Users can reset their password through their client. Alternatively, a server admin can reset a user's password using the <a href="usage/administration/../../admin_api/user_admin_api.html#reset-password">admin API</a>.</p> |