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 optional
The ID of the channel. Optional. If not specified, the search is performed across all channels.
string query optional
A query to execute on the cases.
number start optional
The starting number of the results. The default is 0.
number length optional
The maximum number of results to return. The default is 100.
string columns optional
A comma-separated string of column names to include in the result. If not specified, all columns are returned.
string orderBy optional
The column to order the list results by.
string order optional
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.