Click or drag to resize

FiltersClientHasFilter Method

To get started, call one of the following methods:
  • Anysense.API.Client.V1.ApiClient.Create
  • Anysense.API.Client.V1.ApiClient.CreateAsync
  • Anysense.API.Client.V1.ApiClient.CreateWithToken
  • Anysense.API.Client.V1.ApiClient.CreateWithTokenAsync
See Anysense.API.Client.Shared.BaseClient<T> for documentation on these methods.
Tests if a users has a Filter assigned for the current Form.

Namespace: Anysense.API.Client.V1
Assembly: Anysense.API.Client (in Anysense.API.Client.dll) Version: 1.29.8-dev
Syntax
C#
public bool HasFilter(
	long userId,
	long versionId
)

Parameters

userId  Int64
The id of the User to test
versionId  Int64
The VersionId of the Form to test

Return Value

Boolean
True if the user has a filter assigned
Remarks
DataFilters is unique for each version of a Form
See Also