Licensing Service
Der Licensing Service kann dazu benutzt werden, um Lizenzdaten für Benutzer zu hinterlegen.
AddLicense
Mit dieser Methode kann eine TimePunch Lizenz zur internen Lizenzverwaltung hinzugefügt werden.
ApplicationLicenseDto AddLicense(
out TpFault fault,
TpAuthentication authentication,
string[] applicationKeys,
string licensedFor,
string licenseCode);
| Needed Permission | core@logon | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| applicationKeys | Specifies the application to add the license | |
| licensedFor | License Name | |
| licenseCode | License Code | |
| return value | Information about the currently added license |
ExchangeLicense
Diese Methode tauscht eine bestehende Lizenz gegen eine neue Lizenz aus. Das kann bei Upgrades hilfreich sein, wenn die alte Lizenz nicht mehr benötigt wird, aber die Mitarbeiter eins zu eins der neuen Lizenz zugeordnet werden sollen.
ApplicationLicenseDto ExchangeLicense(
out TpFault fault,
TpAuthentication authentication,
string[] applicationKeys,
Guid applicationLicenseId,
string licensedFor,
string licenseCode);
| Needed Permission | licenses@manage | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| applicationKeys | Specifies the application to add the license | |
| applicationLicenseId | Old application license id to remove | |
| licensedFor | License Name | |
| licenseCode | License Code | |
| return value | Information about the currently added license |
GetApplicationLicenses
Diese Methode liefert die Applikationslizenzen für die übergebenen Applikationsschlüssel zurück.
ApplicationLicenseDto[] GetApplicationLicenses(
out TpFault fault,
TpAuthentication authentication,
string[] applicationKeys);
| Needed Permission | core@logon | |
|---|---|---|
| Name | Modifier | Description |
| fault | Out | Contains the error if an exception occurs. |
| authentication | User authentication | |
| applicationKeys | Specifies the application to retrieve license information for. | |
| return value | Application specific license information |