TokenController.PromoteToGlobal Method |
Promotes an existing project or account token to a global token.
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("PromoteToGlobal/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult PromoteToGlobal(
Guid id,
Guid? sessionId = null
)
<HttpPutAttribute("PromoteToGlobal/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function PromoteToGlobal (
id As Guid,
Optional sessionId As Guid? = Nothing
) As ActionResult
public:
[HttpPutAttribute(L"PromoteToGlobal/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult^ PromoteToGlobal(
Guid id,
Nullable<Guid> sessionId = nullptr
)
[<HttpPutAttribute("PromoteToGlobal/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member PromoteToGlobal :
id : Guid *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- id
- Type: System.Guid
The ID of the token to promote. - sessionId (Optional)
- Type: System.Nullable<Guid>
The ID of the session.
Return Value
Type:
ActionResult
See Also