Unregister
----------

Unregisters the plugin license.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Plugin](component_Plugin.md) | [1.6](newinversion16.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Unregister" ) ### Parameters

none

### Result

Returns "OK".

### Description

Unregisters the plugin license.  
May be useful if you need to enter a new license key without restarting FileMaker.  
### Examples

Unregister the plugin:

 MBS ( "Unregister" )  
Remove license in closing script for SBA solution:

 If \[ MBS ("IsRegistered") \]   
 If \[ MBS ( "[Plugin.LicenseeName](PluginLicenseeName.md)" ) = "MyName" \]   
 # forget license now  
 Set Variable \[ $r ; Value: MBS ( "Unregister" ) \]   
 # and clear from preferences file  
 Set Variable \[ $r ; Value: MBS ( "ClearRegistration" ) \]   
  
 End If  
End If  
### See also

- [ClearRegistration](ClearRegistration.md)
- [IsRegistered](IsRegistered.md)
- [Plugin.LicenseeName](PluginLicenseeName.md)

This function is free to use.

Created 18th August 2014 , last changed 4th March 2022

  
[UnZipFile.UsePassword](UnZipFileUsePassword.md) - [Updater.CheckForUpdates](UpdaterCheckForUpdates.md)

[HTML Version](Unregister.shtml)