IAzureCosmosDbGetDevicesOfMapMarker Method
Retrieves all devices associated with mapMarker.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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.