Updates a specific license status to active, inactive or delete by specifying the CustomerUserID for the licensee to update

Namespace:  QFEM_WebServices
Assembly:  QFEM_WebServices (in QFEM_WebServices.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public QuikResultWS SetLicenseStatus(
	string CustomerUserID,
	int LicenseStatusID,
	DateTime LicenseExpiry
)
Visual Basic (Declaration)
Public Function SetLicenseStatus ( _
	CustomerUserID As String, _
	LicenseStatusID As Integer, _
	LicenseExpiry As DateTime _
) As QuikResultWS
Visual C++
public:
QuikResultWS^ SetLicenseStatus(
	String^ CustomerUserID, 
	int LicenseStatusID, 
	DateTime LicenseExpiry
)

Parameters

CustomerUserID
Type: System..::.String
Customer’s unique ID for licensee
LicenseStatusID
Type: System..::.Int32
1 = Active 2 = Inactive 3 = DELETE (to flag user to be removed)
LicenseExpiry
Type: System..::.DateTime
The date a license expires, as set by the Customer

Return Value

A QuikResultWS object with the following information:
  • ErrorFlag
  • ErrorCode
  • Message

Remarks

A license expiration date can also be set to automatically expire a license on a certain date regardless of the license status.

See Also