ListCasesForIdentity¶
Returns a list of cases for the specified identity.
1 |
|
Parameters¶
( string | Identity ) identity
The user identity to search cases for (ID or Identity object).
string channelId
The ID of the channel. Optional. If not specified, the search is performed across all channels.
string query
A query to execute on the cases.
number start
The starting number of the results. The default is 0.
number length
The maximum number of results to return. The default is 100.
string columns
A comma-separated string of column names to include in the result. If not specified, all columns are returned.
string orderBy
The column to order the list results by.
string order
The type of ordering for the list results.
Returns¶
An instance of DataTable that contains the case list.
Remarks¶
This method is similar to $Domain.ListCases
, but it returns cases that the specified identity has permission to access.
An exception is thrown if the specified identity is not found.