get_accounts_count_check

Gets an account checkout.

Path:
/lib/get_accounts_count_check.js

Parameters:
None.

Example Request:

POST /redrock/query

{  
   "Script":"@/lib/server/get_accounts_count_check.js"
}

Example Response:

{
    "success": false,
    "Result": null,
    "Message": "Query has failed: Unexpected type returned: System.Boolean",
    "MessageID": "_I18N_RedrockQuery",
    "Exception": "Centrify.Cloud.Query.RedrockQueryException: Query has failed: Unexpected type returned: System.Boolean ---> Jint.JintException: Unexpected type returned: System.Boolean\r\n   at Centrify.Cloud.Query.QueryEngine.<>c__DisplayClass17_0.<ExecuteJint>b__0()\r\n   --- End of inner exception stack trace ---\r\n   at Centrify.Cloud.Query.QueryEngine.<>c__DisplayClass17_0.<ExecuteJint>b__0()\r\n   at Centrify.Cfw2.Core.Diagnostics.Navel.Lint.Drop[T](Func`1 func)\r\n   at Centrify.Cloud.Query.QueryEngine.<>c__DisplayClass12_2.<DoQuery2>b__4()\r\n   at Centrify.Cloud.Core.TenantContext.AsBlessedRole(String role, Func`1 allowBlessing, Action action)\r\n   at Centrify.Cloud.Core.TenantContext.AsBlessedRole(String role, Action action)\r\n   at Centrify.Cloud.Query.QueryEngine.<>c__DisplayClass12_0.<DoQuery2>b__0()\r\n   at Centrify.Cfw2.Core.Diagnostics.Navel.Lint.Drop[T](Func`1 func)\r\n   at Centrify.Cloud.Query.RedRockController.<Query>b__2_0()\r\n   at Centrify.Cloud.Core.RestHelpers.JsonRest.StandardJsonResult(Func`1 action)",
    "ErrorID": "761bb222-83b2-4753-9869-ef341ba8634c:30e04df3cb1642419e6cb068fbb32271",
    "ErrorCode": null,
    "InnerExceptions": [
        {
            "Detail": "Jint.JintException: Unexpected type returned: System.Boolean\r\n   at Centrify.Cloud.Query.QueryEngine.<>c__DisplayClass17_0.<ExecuteJint>b__0()",
            "Message": "Unexpected type returned: System.Boolean",
            "MessageID": "_I18N_Jint.JintException"
        }
    ]
}