From c4d7235571f353ebcdf774661927ab690f9a0246 Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Thu, 11 Apr 2024 15:30:57 +0800 Subject: [PATCH] Update _index.en.md --- content/self-host/rustdesk-server-pro/console/_index.en.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/self-host/rustdesk-server-pro/console/_index.en.md b/content/self-host/rustdesk-server-pro/console/_index.en.md index 7b226d2..c3b5611 100644 --- a/content/self-host/rustdesk-server-pro/console/_index.en.md +++ b/content/self-host/rustdesk-server-pro/console/_index.en.md @@ -81,10 +81,12 @@ Gmail in this example ### Assign Device Users/Groups/Strategies to Devices The User is the RustDesk User logged in on the device or assigned to the device by clicking `Edit` next to the device, click in the `User` box and drop-down to select your user, this will auto assign the group based on the group the user as been assigned to. -This can also be done via the API at command line on deployment or later by calling the RustDesk executable followed by `--assign --token --user_name `. You need to go to "Settings → Tokens → Create" and create a token with Device permissions first to do this. An example of this on windows would be `"C:\Program Files\RustDesk\rustdesk.exe" --assign --token --user_name `. +This can also be done via the API at command line on deployment or later by calling the RustDesk executable followed by `--assign --token --user_name `. You need to go to `Settings → Tokens → Create` and create a token with Device permissions first to do this. An example of this on windows would be `"C:\Program Files\RustDesk\rustdesk.exe" --assign --token --user_name `. You can also assign strategy in this way, e.g. `--assign --token --strategy_name_name `. +The command line on Windows does not have output by default, to get output, please run like this, `"C:\Program Files\RustDesk\rustdesk.exe" ... | more`, or `"C:\Program Files\RustDesk\rustdesk.exe" ... | Out-String`, https://github.com/rustdesk/rustdesk/discussions/6377#discussioncomment-8094952. + ### Searching for a device 1. Go to Devices. 2. In the Device Name Search Field type in the name and click `Query` or hit Enter.