Description

This method will validate Program for web licensing based on provided Program ID. Method will check if there is a program with such ID and if web licensing is enabled for program.

Definition (VB.NET)

<WebMethod()> _
Public Function WebLicensingValidateProgram(ByVal ProgramID As Integer) As Result

Security

No authorization is required for this method.

Parameters

Name Type Description
ProgramID Integer Program ID value

Return values

In case of success Result.Status is set to STATUS_SUCCESS

In case of error appropriate error status code is returned.

Some of the error codes this method could return:

STATUS_PROGRAM_MISSING - there is no program with provided ID.

STATUS_PROGRAM_WEB_LICENSING_ERROR - program is present but web licensing is not enabled for program.

Notes

This method will increase error counter for a calling host in order to limit number of calls to this method.