A Sandcastle Documented Class Library

# AccountController GetUserData Method

GET /Account/UserData/{id} Gets the user data for the specified account.

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

    [HttpGetAttribute]
    [ActionNameAttribute("UserData")]
    public IActionResult GetUserData(
    	Guid id,
    	Guid? sessionId = null
    )

    <HttpGetAttribute>
    <ActionNameAttribute("UserData")>
    Public Function GetUserData (
    	id As Guid,
    	Optional sessionId As Guid? = Nothing
    ) As IActionResult

    public:
    [HttpGetAttribute]
    [ActionNameAttribute(L"UserData")]
    IActionResult^ GetUserData(
    	Guid id,
    	Nullable<Guid> sessionId = nullptr
    )

    [<HttpGetAttribute>]
    [<ActionNameAttribute("UserData")>]
    member GetUserData :
            id : Guid *
            ?sessionId : Nullable<Guid>
    (* Defaults:
            let _sessionId = defaultArg sessionId null
    *)
    -> IActionResult

#### Parameters

id
  Type: System
  Guid
  The ID of the account to get the user data for.
sessionId (Optional)
  Type: System
  Nullable
  Guid
  Current session ID.

#### Return Value

Type: IActionResult
An array of KeyValuePairData objects, or a status code indicating the problem.
See Also

#### Reference

AccountController Class
Dundas.BI.WebApi.Controllers Namespace