A Sandcastle Documented Class Library

# LogOnController QueryLogOnHistory Method

POST /LogOn/QueryHistory Gets the log on history.

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    [HttpPostAttribute]
    [ActionNameAttribute("QueryHistory")]
    public IActionResult QueryLogOnHistory(
    	[FromBodyAttribute] QueryLogOnHistoryOptions options,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("QueryHistory")>
    Public Function QueryLogOnHistory (
    	<FromBodyAttribute> options As QueryLogOnHistoryOptions,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"QueryHistory")]
    IActionResult^ QueryLogOnHistory(
    	[FromBodyAttribute] QueryLogOnHistoryOptions^ options,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("QueryHistory")>]
    member QueryLogOnHistory :
            [<FromBodyAttribute>] options : QueryLogOnHistoryOptions *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  QueryLogOnHistoryOptions
  An object that carries all needed information about the log on history that needs to be retrieved.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
An array of LogOnHistoryRecordData objects, or a status code indicating an error, or an empty array if no results are found.
See Also

#### Reference

LogOnController Class
Dundas.BI.WebApi.Controllers Namespace