A Sandcastle Documented Class Library

# LogOnController GetLogOnToken Method

POST /LogOn/Token Gets the log on token.

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("Token")]
    public IActionResult GetLogOnToken(
    	[FromBodyAttribute] LogOnTokenOptions options
    )

    <HttpPostAttribute>
    <ActionNameAttribute("Token")>
    Public Function GetLogOnToken (
    	<FromBodyAttribute> options As LogOnTokenOptions
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"Token")]
    IActionResult^ GetLogOnToken(
    	[FromBodyAttribute] LogOnTokenOptions^ options
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("Token")>]
    member GetLogOnToken :
            [<FromBodyAttribute>] options : LogOnTokenOptions -> IActionResult

#### Parameters

options
  Type: Dundas.BI.WebApi.Models
  LogOnTokenOptions
  The options for getting the log on token (credentials, token, name/password, windows log on).

#### Return Value

Type: IActionResult
A GetLogOnTokenResultData object, or a status code indicating the problem.
See Also

#### Reference

LogOnController Class
Dundas.BI.WebApi.Controllers Namespace