AccountController.ChangePassword Method |
Updates the password for the current account, or if an account ID is specified, the password for the specified 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("ChangePassword")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<OperationResultData> ChangePassword(
[FromBodyAttribute] ChangePasswordOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("ChangePassword")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function ChangePassword (
<FromBodyAttribute> options As ChangePasswordOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of OperationResultData)
public:
[HttpPostAttribute(L"ChangePassword")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<OperationResultData^>^ ChangePassword(
[FromBodyAttribute] ChangePasswordOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("ChangePassword")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member ChangePassword :
[<FromBodyAttribute>] options : ChangePasswordOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<OperationResultData>
Parameters
- options
- Type: Dundas.BI.WebApi.Models.ChangePasswordOptions
The options used to change the password for the current account or a specified account (if an account ID is specified). - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult<OperationResultData>An object describing the result of the operation.
See Also