CheckLicence #
Prüft, ob eine bestimmte Lizenz (Modul) im aktuellen Mandanten freigeschaltet ist.
Ergebnis = Client.CheckLicence(Module)
Parameter #
| Parameter | Typ | Beschreibung |
|---|---|---|
Module | Variant | Modulcode (Integer) |
Rückgabe #
| Wert | Beschreibung |
|---|---|
> 0 | Lizenz ist vorhanden |
0 | Lizenz ist nicht vorhanden |
Beispiel #
If Client.CheckLicence(42) > 0 Then
MsgBox "Modul ist freigeschaltet"
Else
MsgBox "Modul ist nicht lizenziert"
End If