| 4D v20.1Refresh license | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D v20.1
 Refresh license 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Refresh license -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| Function result | Object |   | Status object | |||||
The Refresh license command updates the current 4D Server license. It connects you to the 4D customer database and automatically activates any new or updated licenses (e.g., additional purchased clients) related to the current license.
Returned object
The object returned by Refresh license contains the following properties:
| Property | Type | Description | 
| success | boolean | True if the refresh action is successful, False otherwise. | 
| status | number | Status code | 
| statusText | text | Status description | 
| tips | text | Suggestions to resolve error. | 
Note: This command can only be executed on 4D Server. If the method calling the command is executed locally on a remote client or in 4D single user, Refresh license does nothing.
You want to update your license and receive a message when it's completed:
  // Method to be executed on server
 C_OBJECT($res)
 $res:=Refresh license
 If($res.success)
    ALERT("Success")
 Else
    ALERT($res.statusText)
 End if
	Product:  4D
	Theme:  Licenses
	Number:  
        1336
        
        
        
	
	Created:  4D v17 R4
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v20)
	
	
	4D Language Reference ( 4D v20.1)
	
	
	
 Add a comment
Add a comment