LicenseService.canCreateAccount Method
Checks to see if the system will allow the account to be created.
Based on how many seats are allowed.
If the seat is reserved, false is an error (You can't create that account because you don't have enough seats.)
If the seat isn't reserved, false is a warning (You can create that account, but they might not be able to login because of limited seats.)
Parameters
- id
-
Type: String
The ID of the tenant the account will belong to.
- seatKind
-
Type: LicenseSeatKind
The seat kind the account will be.
- isSeatReserved
-
Type: Boolean
A flag used to determine if the seat is reserved (true) or not (false).
Return Value
Type: jQuery.Promise
Value: Boolean
A promise object that is resolved when the call is complete.
If successful, either true or false will be returned (based on results), or an error message saying why it failed.