Returns the log records for an account.
Namespace: Atomia.Provisioning.ServiceAssembly: Atomia.Provisioning.Service (in Atomia.Provisioning.Service.dll) Version: 17.3.6337.16014
Syntax LogItem[] ListLogs(
string account,
string user,
string action,
DateRange dateRange,
Dictionary<string, string> extendedData,
int sortBy,
bool sortAsc,
int page,
int pageSize,
out int pageCount
)
Function ListLogs (
account As String,
user As String,
action As String,
dateRange As DateRange,
extendedData As Dictionary(Of String, String),
sortBy As Integer,
sortAsc As Boolean,
page As Integer,
pageSize As Integer,
<OutAttribute> ByRef pageCount As Integer
) As LogItem()
array<LogItem^>^ ListLogs(
String^ account,
String^ user,
String^ action,
DateRange^ dateRange,
Dictionary<String^, String^>^ extendedData,
int sortBy,
bool sortAsc,
int page,
int pageSize,
[OutAttribute] int% pageCount
)
abstract ListLogs :
account : string *
user : string *
action : string *
dateRange : DateRange *
extendedData : Dictionary<string, string> *
sortBy : int *
sortAsc : bool *
page : int *
pageSize : int *
pageCount : int byref -> LogItem[]
Parameters
- account
- Type: SystemString
The account whose records are listed. If null, records for all accounts are listed. - user
- Type: SystemString
The username whose records are listed. If null, records for all users are listed. - action
- Type: SystemString
Message text to be searched for. - dateRange
- Type: Atomia.Provisioning.BaseDateRange
The range between two dates. - extendedData
- Type: System.Collections.GenericDictionaryString, String
Collection of name-value pairs containing extended log data. - sortBy
- Type: SystemInt32
Index of property to sort by. - sortAsc
- Type: SystemBoolean
If set to true sort resulting list ascending. - page
- Type: SystemInt32
Page number which to return. - pageSize
- Type: SystemInt32
Number of records per page. - pageCount
- Type: SystemInt32
Total number of pages.
Return Value
Type:
LogItemList of found log records.
See Also