version 2004
SET PLUGIN ACCESS (plugIn; group)
| Parameter | Type | Description | |
| plugIn | Longint | Plug-in number | |
| group | String | Group name to associate with plug-in | 
Description
The SET PLUGIN ACCESS command lets you set, by programming, the user group allowed to use each "serialized" plug-in that is installed in the database. By doing so, you can manage how plug-in licenses are used.
Note: This operation can also be carried out in the Design environment using the Groups editor.
Pass the number of the plug-in to be associated with a group of users in the plugIn parameter. Plug-in licenses include 4D Client Web and SOAP licenses. You can pass one of the following constants found in the "Is license available" theme:
| Constant | Type | Value | 
| 4D Draw License | Longint | 808464694 | 
| 4D For OCI License | Longint | 808465208 | 
| 4D View License | Longint | 808465207 | 
| 4D Write License | Longint | 808464697 | 
| 4D Client Web License | Longint | 808465209 | 
| 4D Client SOAP License | Longint | 808465465 | 
| 4D ODBC Pro License | Longint | 808464946 | 
| 4D for ADO License | Longint | 808465714 | 
| 4D for MySQL License | Longint | 808465712 | 
| 4D for PostgreSQL License | Longint | 808465713 | 
| 4D for Sybase License | Longint | 808465715 | 
Pass the name of the group whose users are authorized to use the plug-in in group.
Note: Only one group at a time can be allowed to use a plug-in. When this command is executed, if another group had the plug-in access rights, it loses this privilege.
See Also
Get plugin access, GET PLUGIN LIST.