Open this page in the API Guide

AccountController.GetAccountByName Method

Gets a user account.

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax
[HttpPostAttribute("Name")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<AccountData> GetAccountByName(
	[FromBodyAttribute] string name,
	Guid? sessionId = null
)

Parameters

name
Type: System.String
The name of the account to get.
sessionId (Optional)
Type: System.Nullable<Guid>
Current session ID.

Return Value

Type: ActionResult<AccountData>
An AccountData object.
See Also