A Sandcastle Documented Class Library

# AccountController GetAccountInfoByName Method

POST /Account/InfoName Gets the account by name.

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("InfoName")]
    public IActionResult GetAccountInfoByName(
    	[FromBodyAttribute] string name,
    	Guid? sessionId = null
    )

    <HttpPostAttribute>
    <ActionNameAttribute("InfoName")>
    Public Function GetAccountInfoByName (
    	<FromBodyAttribute> name As String,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpPostAttribute]
    [ActionNameAttribute(L"InfoName")]
    IActionResult^ GetAccountInfoByName(
    	[FromBodyAttribute] String^ name,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpPostAttribute>]
    [<ActionNameAttribute("InfoName")>]
    member GetAccountInfoByName :
            [<FromBodyAttribute>] name : string *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

name
  Type: System
  String
  The name of the account.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  The current session ID.

#### Return Value

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

#### Reference

AccountController Class
Dundas.BI.WebApi.Controllers Namespace