VLScgAllowShareLimit/VLScgAllowTeamLimit
Syntax
In case of a non-capacity license:
int VLScgAllowShareLimit (VLScg_HANDLE iHandle, codeT *codeP);
In case of a capacity license, you need to use the VLScgAllowTeamLimit macro which is a wrapper to the VLScgAllowShareLimit API:
int VLScgAllowTeamLimit (VLScg_HANDLE iHandle, codeT *codeP);
Argument | Description |
iHandle |
The instance handle for this library. |
codeP |
The pointer to the codeT struct. |
Description
>Sets the number of users that can share a non-capacity license.
>Sets the number of team members that can share a token in case of a capacity license.
Returns
The VLScgAllowXXX function tests whether the corresponding VLScgSetXXX should be called. If VLScgAllowXXX returns 1, then the corresponding VLScgSetXXX function can be called. Otherwise, it will return 0 as false.