Search Results for

    Show / Hide Table of Contents

    Method GetAuditLogonEntriesFiltered

    GetAuditLogonEntriesFiltered(String, String, String, String)

    Gets audit logon entries

    Declaration
    List<AuditLogonContract> GetAuditLogonEntriesFiltered(string connectionId, string userId, string fromDate, string toDate)
    Parameters
    Type Name Description
    System.String connectionId

    The connection id to identify your connection. See also ConnectionId

    System.String userId

    Optional: The user id filter. Default: null See also Id

    System.String fromDate

    Optional: The start date filter. Date formats: yyyy-MM-ddTHH:mm:ss, yyyy-MM-dd. Default: null

    System.String toDate

    Optional: The end date filter. Date formats: yyyy-MM-ddTHH:mm:ss, yyyy-MM-dd. Default: null

    Returns
    Type Description
    System.Collections.Generic.List<AuditLogonContract>

    List of audit logon entries

    Remarks
    • You need "Access to scheme" access right (01002060-38a7-11d8-a902-0050bf427e8f). See also GetUserAdminAccessRights(String, String)
    • You need "Delete Logon Audit-Log" access right (01002100-38a7-11d8-a902-0050bf427e8f). See also GetUserAdminAccessRights(String, String)
    • You need "Read Logon Audit-Log" access right (01002099-38a7-11d8-a902-0050bf427e8f). See also GetUserAdminAccessRights(String, String)
    Examples

    POST https://YourServerName/InfoShare/Json/Audit/GetAuditLogonEntriesFiltered

    Example for a retrieving the audit logon entries.

    {
       "connectionId": "3c82780c-d086-4564-ab20-915fc2182620"
    }

    Response:

    {
       "GetAuditLogonEntriesFilteredResult": [{
         "ClientId":"00000009-38b2-11d8-a902-0050bf427e8f",
         "LogDate":"2019-01-08T12:03:27",
         "Type":"Logon",
         "UserId":"0100a003-38a7-11d8-a902-0050bf427e8f",
         "UserName":"dciadmin"
         },{
         "ClientId":"00000009-38b2-11d8-a902-0050bf427e8f",
         "LogDate":"2019-01-08T12:03:29",
         "Type":"Logon",
         "UserId":"0100a003-38a7-11d8-a902-0050bf427e8f",
         "UserName":"dciadmin" }]
    }
    Exceptions
    Type Condition
    ServiceException

    String was not recognized as a valid DateTime: {dateTimeValue}. Expected format {expectedFormat} (10059)

    ServiceException

    Verification code is needed: Verification code not yet verified (10152)

    Back to top Copyright © Kendox