You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/userguides/users.md
+24-1
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,18 @@ To change the information for one or more users, provide the user UID and update
15
15
16
16
Apply [Code42's user roles](https://support.code42.com/Administrator/Cloud/Monitoring_and_managing/Roles_resources/Roles_reference#Standard_roles) to user accounts to provide administrators with the desired set of permissions. Each role has associated permissions, limitations, and recommended use cases.
17
17
18
+
#### View User Roles
19
+
View a user's current roles and other details with the `show` command:
Alternatively, pass the `--include-roles` flag to the `list ` command. The following command will print a list of all active users and their current roles:
24
+
```bash
25
+
code42 users list --active --include-roles
26
+
```
27
+
28
+
#### Update User Roles
29
+
18
30
Use the following command to add a role to a user:
@@ -40,7 +52,18 @@ Similarly, use the `reactivate` and `bulk reactivate` commands to reactivate a u
40
52
41
53
Use [Organizations](https://support.code42.com/Administrator/Cloud/Code42_console_reference/Organizations_reference) to group users together in the Code42 environment.
42
54
43
-
Use the following example command to move a user into an organization associated with the `org_id` 1234567890:
55
+
You'll need an organization's unique identifier number (UID) to move a user into it. You can use the `list` command to view a list of all current user organizations, including UIDs:
56
+
```bash
57
+
code42 users orgs list
58
+
```
59
+
60
+
Use the `show` command to view all the details of a user organization.
61
+
As an example, to print the details of an organization associated with the UID `123456789` in JSON format:
62
+
```bash
63
+
code42 users show 123456789 -f JSON
64
+
```
65
+
66
+
Once you've identified your organizations UID number, use the `move` command to move a user into that organization. In the following example a user is moved into the organization associated with the UID `1234567890`:
0 commit comments