AccountController.UpdateLastLogOnIpAddress Method |
Updates a user account's last logon IP address.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpPutAttribute("IpAddress/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(440)]
public ActionResult UpdateLastLogOnIpAddress(
Guid id,
[FromBodyAttribute] string ipAddress,
Guid? sessionId = null
)
<HttpPutAttribute("IpAddress/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(404)>
<ProducesResponseTypeAttribute(440)>
Public Function UpdateLastLogOnIpAddress (
id As Guid,
<FromBodyAttribute> ipAddress As String,
Optional sessionId As Guid? = Nothing
) As ActionResult
public:
[HttpPutAttribute(L"IpAddress/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(404)]
[ProducesResponseTypeAttribute(440)]
ActionResult^ UpdateLastLogOnIpAddress(
Guid id,
[FromBodyAttribute] String^ ipAddress,
Nullable<Guid> sessionId = nullptr
)
[<HttpPutAttribute("IpAddress/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(404)>]
[<ProducesResponseTypeAttribute(440)>]
member UpdateLastLogOnIpAddress :
id : Guid *
[<FromBodyAttribute>] ipAddress : string *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- id
- Type: System.Guid
The ID of the account to update. - ipAddress
- Type: System.String
The IP address to use in the update. - sessionId (Optional)
- Type: System.Nullable<Guid>
Current session ID.
Return Value
Type:
ActionResult
See Also