Skip to content

Commit f1bf946

Browse files
authored
DOCSP-34777 Add info on Atlas Support for User Management Commands (#5685)
* DOCSP-34777 Add info on Atlas Support for User Management Commands * Rm versionchanged --------- Co-authored-by: pierwill <pierwill@users.noreply.github.com>
1 parent d9450db commit f1bf946

File tree

8 files changed

+81
-0
lines changed

8 files changed

+81
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.. note::
2+
3+
This command has *limited support* in M0, M2, M5, M10 clusters.
4+
For more information, see :atlas:`Unsupported Commands </unsupported-commands>`.

source/reference/command/createUser.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,17 @@ Definition
2424
.. |method| replace:: :method:`db.createUser` helper method
2525
.. include:: /includes/fact-dbcommand-tip
2626

27+
Compatibility
28+
-------------
29+
30+
This command is available in deployments hosted in the following environments:
31+
32+
.. include:: /includes/fact-environments-atlas-only.rst
33+
34+
.. include:: /includes/fact-environments-atlas-no-free-or-m10.rst
35+
36+
.. include:: /includes/fact-environments-onprem-only.rst
37+
2738
Syntax
2839
------
2940

source/reference/command/dropAllUsersFromDatabase.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,17 @@ Definition
2525

2626
The :dbcommand:`dropAllUsersFromDatabase` removes all users from the database.
2727

28+
Compatibility
29+
-------------
30+
31+
This command is available in deployments hosted in the following environments:
32+
33+
.. include:: /includes/fact-environments-atlas-only.rst
34+
35+
.. include:: /includes/fact-environments-atlas-no-free-or-m10.rst
36+
37+
.. include:: /includes/fact-environments-onprem-only.rst
38+
2839
Syntax
2940
------
3041

source/reference/command/dropUser.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ Definition
2020
.. |method| replace:: :method:`db.dropUser` helper method
2121
.. include:: /includes/fact-dbcommand-tip
2222

23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-no-m10.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
33+
2334
Syntax
2435
------
2536

source/reference/command/grantRolesToUser.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ Definition
2020
.. |method| replace:: :method:`db.grantRolesToUser` helper method
2121
.. include:: /includes/fact-dbcommand-tip
2222

23+
Compatibility
24+
-------------
25+
26+
This command is available in deployments hosted in the following environments:
27+
28+
.. include:: /includes/fact-environments-atlas-only.rst
29+
30+
.. include:: /includes/fact-environments-atlas-no-free-or-m10.rst
31+
32+
.. include:: /includes/fact-environments-onprem-only.rst
33+
2334
Syntax
2435
------
2536

source/reference/command/revokeRolesFromUser.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,17 @@ Definition
2121
.. |method| replace:: :method:`db.revokeRolesFromUser` helper method
2222
.. include:: /includes/fact-dbcommand-tip
2323

24+
Compatibility
25+
-------------
26+
27+
This command is available in deployments hosted in the following environments:
28+
29+
.. include:: /includes/fact-environments-atlas-only.rst
30+
31+
.. include:: /includes/fact-environments-atlas-no-free-or-m10.rst
32+
33+
.. include:: /includes/fact-environments-onprem-only.rst
34+
2435
Syntax
2536
------
2637

source/reference/command/updateUser.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ Definition
3636
To update a user, you must specify the ``updateUser`` field and at
3737
least one other field, other than ``writeConcern``.
3838

39+
Compatibility
40+
-------------
41+
42+
This command is available in deployments hosted in the following environments:
43+
44+
.. include:: /includes/fact-environments-atlas-only.rst
45+
46+
.. include:: /includes/fact-environments-atlas-no-free-or-m10.rst
47+
48+
.. include:: /includes/fact-environments-onprem-only.rst
49+
3950
Syntax
4051
------
4152

source/reference/command/usersInfo.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ The command has the following syntax:
3636
}
3737
)
3838

39+
Compatibility
40+
-------------
41+
42+
This command is available in deployments hosted in the following environments:
43+
44+
.. include:: /includes/fact-environments-atlas-only.rst
45+
46+
.. include:: /includes/fact-environments-atlas-limited-free.rst
47+
48+
.. include:: /includes/fact-environments-onprem-only.rst
49+
3950
Command Fields
4051
--------------
4152

0 commit comments

Comments
 (0)