Name

revoke, legal.revoke, kPMRPCLegalRevoke — Remove all licence information.

Synopsis

void legal.revoke( );

Description

Remove all licence information.

Revokes the licence information stored by the engine. Once revoked, the expiry and demonstration behaviour of the engine will return. The stored revoked licences are unaffected and may be used again.

Parameters

Security

revoke can be requested by any authenticated client.

Unauthenticated clients are authorized using the uk.co.dssw.powermanager.legal.revoke right. By default, only local processes belonging to administrator can send a revoke request.

Availablility

pmdctl

Examples

Example 64. C: Minimal legal.revoke

CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault, kPMRPCLegalRevoke);