IAzureCosmosDbGetIpAddressStatuses Method
Retrieves the white/blacklist of
IpAddressStatusDtoes for
company in a neat order.
If
company is
, we'll retrieve the global IP Address Status list.
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<GridResults<IpAddressStatusDto>> GetIpAddressStatuses(
CompanyDto? company,
UserSessionData currentUser,
bool isWhiteList,
IReadOnlyCollection<FilterItem> filters,
IReadOnlyCollection<SortingItem> sorting,
ushort pageSize,
ushort skip,
CancellationToken cancellationToken = default
)
- company CompanyDto
- Company the IP Address status belong to.
- currentUser UserSessionData
- User trying to get the data
- isWhiteList Boolean
- Whether to show the white list () or the blacklist ()
- filters IReadOnlyCollectionFilterItem
- Properties to filter on
- sorting IReadOnlyCollectionSortingItem
- Properties to sort on
- pageSize UInt16
- Size of the page.
- skip UInt16
- Pages to skip
- cancellationToken CancellationToken (Optional)
- Cancellation token
TaskGridResultsIpAddressStatusDtoRetrieved statuses, if any.