ITokenServiceTokenQuery Method

Gets the tokens corresponding to the query criteria.

Namespace:  Dundas.BI.Data.Parameters.Tokens
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
IList<TokenDefinition> TokenQuery(
	int pageNumber,
	int pageSize,
	IList<Tuple<TokenQueryField, SortDirection>>? orderBy,
	ICollection<TokenQueryFilterRule>? filter
)

Parameters

pageNumber
Type: SystemInt32
The page number.
pageSize
Type: SystemInt32
The number of results in each page.
orderBy
Type: System.Collections.GenericIListTupleTokenQueryField, SortDirection
The sort order of the result, or if the order does not matter.
filter
Type: System.Collections.GenericICollectionTokenQueryFilterRule
The filter rules which should be applied to the query, or if no filters are required.

Return Value

Type: IListTokenDefinition
The collection of token definitions matching the query criteria.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException

pageNumber is less than zero.

-or-

pageSize is less or equal to than zero.

InvalidOperationExceptionfilter contains invalid rule.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
The results are automatically filtered to exclude tokens which are not accessible to the caller.
See Also