LicenseController.CanCreateAccount Method |
Check against the license to see if an account can be created.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpGetAttribute("CanCreateAccount/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<bool> CanCreateAccount(
Guid id,
LicenseSeatKind seatKind,
bool isSeatReserved,
Guid? sessionId = null
)
<HttpGetAttribute("CanCreateAccount/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(440)>
Public Function CanCreateAccount (
id As Guid,
seatKind As LicenseSeatKind,
isSeatReserved As Boolean,
Optional sessionId As Guid? = Nothing
) As ActionResult(Of Boolean)
public:
[HttpGetAttribute(L"CanCreateAccount/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
ActionResult<bool>^ CanCreateAccount(
Guid id,
LicenseSeatKind seatKind,
bool isSeatReserved,
Nullable<Guid> sessionId = nullptr
)
[<HttpGetAttribute("CanCreateAccount/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(440)>]
member CanCreateAccount :
id : Guid *
seatKind : LicenseSeatKind *
isSeatReserved : bool *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<bool>
Parameters
- id
- Type: System.Guid
The tenant ID the account will be a part of. If any. - seatKind
- Type: Dundas.BI.Licensing.LicenseSeatKind
The LicenseSeatKind that the account will be. - isSeatReserved
- Type: System.Boolean
A value indicating whether the account will use a reserved seat. - sessionId (Optional)
- Type: System.Nullable<Guid>
The current session ID.
Return Value
Type:
ActionResult<Boolean>The operation completed successfully. The payload contains a
Boolean object.
See Also