f2s_license_server_users_current_count¶

Applies to: Oracle, MS SQL, MySql/MariaDB, PostgreSQL Drivers

Syntax

**There is no set_attribute.  This attribute is read only.**
get_attribute f2s_license_server_users_current_count of {DriverID} to {variable}

Parameter

Description

DriverID

The ID of the driver for which this applies. In most cases, you should use _f2s_ActiveDriverID.

variable

Integer variable to hold the number of current users

Description

Getting this read only attribute returns the number of native users that are currently using the driver.

Examples

get_attribute

Integer iNumUsers iMaxUsers iMaxSessions

Get_Attribute f2s_license_server_users_current_count of _f2s_ActiveDriverID to iNumUsers
Get_Attribute f2s_license_max_users of _f2s_ActiveDriverID to iMaxUsers
Get_Attribute f2s_license_max_sessions of _f2s_ActiveDriverID to iMaxSessions

Showln (SFormat("The current number of users is %1", iNumUsers))
Showln (SFormat("The maximum number of users is %1",iMaxUsers))
Showln (SFormat("The maximum number of sessions is %1",iMaxSessions))

Related Attributes

Replaces: Command LOGGED_USERS