Skip to main content
Version: Next

SET PLUGIN ACCESS

SET PLUGIN ACCESS ( plugIn ; group )

ParameterTypeDescription
plugInIntegerPlug-in number
groupTextGroup name to associate with plug-in

Description

The SET PLUGIN ACCESS command sets, by programming, the user group allowed to use each “serialized” plug-in that is installed in the database. This way you can manage how plug-in licenses are used.

Note: This can also be done 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:

ConstantTypeValue
4D Client SOAP licenseInteger808465465
4D Client Web licenseInteger808465209
4D for OCI licenseInteger808465208
4D ODBC Pro licenseInteger808464946
4D View licenseInteger808465207
4D Write licenseInteger808464697

Pass the name of the group whose users are authorized to use the plug-in in group.

Notes:

  • 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.
  • Used licenses will remain attached to 4D user accounts in group for the whole session, even if they change memberships or if the group loses its plug-in access rights.

See also

Get plugin access
PLUGIN LIST
SET GROUP ACCESS

Properties

Command number845
Thread safe