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: articles/energy-data-services/how-to-manage-users.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ In this article, you learn how to manage users and their memberships in OSDU gro
25
25
The Azure object ID (OID) is the Microsoft Entra user OID.
26
26
27
27
1. Find the OID of the users first. If you're managing an application's access, you must find and use the application ID (or client ID) instead of the OID.
28
-
1. Input the OID of the users (or the application or client ID if managing access for an application) as parameters in the calls to the Entitlements API of your Azure Data Manager for Energy instance. You can not use user's email id in the parameter and must use object ID.
28
+
1. Input the OID of the users (or the application or client ID if managing access for an application) as parameters in the calls to the Entitlements API of your Azure Data Manager for Energy instance. You can not use user's email ID in the parameter and must use object ID.
29
29
30
30
:::image type="content" source="media/how-to-manage-users/azure-active-directory-object-id.png" alt-text="Screenshot that shows finding the object ID from Microsoft Entra ID.":::
31
31
@@ -48,7 +48,7 @@ The Azure object ID (OID) is the Microsoft Entra user OID.
48
48
49
49
To know more about the OSDU bootstrap groups, check out [here](https://community.opengroup.org/osdu/platform/security-and-compliance/entitlements/-/blob/master/docs/bootstrap/bootstrap-groups-structure.md).
50
50
51
-
## Get the list of all available groups in a data partition
51
+
## Get the list of all the groups you have access to in a data partition
52
52
53
53
Run the following curl command in Azure Cloud Shell to get all the groups that are available for you or that you have access to in the specific data partition of the Azure Data Manager for Energy instance.
54
54
@@ -58,7 +58,7 @@ Run the following curl command in Azure Cloud Shell to get all the groups that a
58
58
--header 'Authorization: Bearer <access_token>'
59
59
```
60
60
61
-
## Add users to an OSDU group in a data partition
61
+
## Add members to an OSDU group in a data partition
62
62
63
63
1. Run the following curl command in Azure Cloud Shell to add the users to the users group by using the entitlement service.
64
64
1. The value to be sent for the parameter `email` is the OID of the user and not the user's email address.
@@ -162,10 +162,20 @@ Run the following curl command in Azure Cloud Shell to get all the groups that a
162
162
}
163
163
```
164
164
165
-
## Delete OSDU groups of a specific user in a data partition
165
+
## Remove a member from a group in a data partition
166
+
1. Run the following curl commandin Azure Cloud Shell to remove a specific member from a group.
167
+
1. If the API tries to remove a member from `users@` group but the member is already part of other groups, then the API request will fail. To remove member from `users@` group and thus from the data partition, you can use Delete command.
## Delete a specific user from all the groups in a data partition
166
176
167
177
1. Run the following curl commandin Azure Cloud Shell to delete a specific user from a specific data partition.
168
-
1. *Do not* delete the OWNER of a group unless you have another OWNER who can manage users in that group.
178
+
1. *Do not* delete the OWNER of a group unless you have another OWNER who can manage users in that group. Though [users.data.root](concepts-entitlements.md#peculiarity-of-usersdataroot-group) is the default and permanent owner of all the data records.
0 commit comments