Skip to content

Commit da4f688

Browse files
committed
improved check roleassignment
1 parent 2a0b772 commit da4f688

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/digital-twins/security-create-manage-role-assignments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: alinast
66
ms.service: digital-twins
77
services: digital-twins
88
ms.topic: conceptual
9-
ms.date: 09/30/2019
9+
ms.date: 10/02/2019
1010
ms.author: lyhughes
1111
ms.custom: seodec18
1212
---
@@ -160,8 +160,8 @@ YOUR_MANAGEMENT_API_URL/roleassignments/check?userId=YOUR_USER_ID&path=YOUR_PATH
160160
| --- | --- | --- | --- |
161161
| YOUR_USER_ID | True | String | The objectId for the UserId objectIdType. |
162162
| YOUR_PATH | True | String | The chosen path to check access for. |
163-
| YOUR_ACCESS_TYPE | True | String | The access type to check for. |
164-
| YOUR_RESOURCE_TYPE | True | String | The resource to check. |
163+
| YOUR_ACCESS_TYPE | True | String | *Read*, *Create*, *Update*, or *Create* |
164+
| YOUR_RESOURCE_TYPE | True | String | *Device*, *DeviceBlobMetadata*, *DeviceExtendedProperty*, *ExtendedPropertyKey*, *ExtendedType*, *Endpoint*, *KeyStore*, *Matcher*, *Ontology*, *Report*, *RoleDefinition*, *Sensor*, *SensorExtendedProperty*, *Space*, *SpaceBlobMetadata*, *SpaceExtendedProperty*, *SpaceResource*, *SpaceRoleAssignment*, *System*, *UerDefinedFunction*, *User*, *UserBlobMetadata*, or *UserExtendedProperty* |
165165

166166
A successful request will return a boolean `true` or `false` to indicate whether the access type has been assigned to the user for the given path and resource.
167167

0 commit comments

Comments
 (0)