IAzureCosmosDbGetDevicesOfMapMarker Method
Retrieves all devices associated with mapMarker.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<List<DeviceDto>> GetDevicesOfMapMarker(
MapMarkerDto mapMarker,
UserSessionData currentUser,
bool isGlobal,
CancellationToken cancellationToken
)
- mapMarker MapMarkerDto
- Map marker to filter on
- currentUser UserSessionData
- Current user
- isGlobal Boolean
- True if item is global
- cancellationToken CancellationToken
- Cancellation token
TaskListDeviceDtoFound devices, or an empty list if none were found.
Note: this method doesn't check if the user has the permission to view the devices. This has to be filtered out by the caller.