MSM7xx Controllers Configuration Guide v6.4.0

TruncateSessionTime(unit)
Returns session duration for the current user truncated to the specified unit. See
TruncateMaxSessionTime(unit).
GetSessionTimeHMS()
Returns session duration for the current user in hours, minutes and seconds in the format:
hh:mm:ss.
GetSessionRemainingTime()
Returns the amount of connection time remaining for the current user session in minutes and
seconds in the format: mm:ss.
GetSessionRemainingTimeHMS()
Returns the amount of connection time remaining for the current user session in hours,
minutes and seconds in the format: hh:mm:ss.
ConvertSessionRemainingTime(unit)
Returns the total amount of connection time remaining for the current user in the specified
unit. See ConvertMaxSessionTime(unit).
TruncateSessionRemainingTime(unit)
Returns the total amount of connection time remaining for the current user truncated to the
specified unit. See TruncateMaxSessionTime(unit).
GetMaxSessionTime()
Returns the total amount of connection time configured for the current user session in minutes
and seconds in the format: mm:ss.
GetMaxSessionTimeHMS()
Returns the total amount of connection time configured for the current user session in hours,
minutes and seconds in the format: hh:mm:ss.
ConvertMaxSessionTime(unit)
Returns the total amount of connection time configured for the current user in the specified
unit.
Yearsy
Daysd
Hoursh
Minutesm
Secondss
For example if the user account is configured for 5000 seconds, then:
ConvertMaxSessionTime("y") returns 0, calculated as (5000 / (365*24 *60*60)).
ConvertMaxSessionTime("d") returns 0, calculated as (5000 / (24*60*60)).
ConvertMaxSessionTime("h") returns 1, calculated as (5000 / (60*60)).
ConvertMaxSessionTime("m") returns 83, calculated as (5000 / 60).
ConvertMaxSessionTime("s") returns 5000, calculated as (5000 / 1).
TruncateMaxSessionTime(unit)
Yearsy
Daysd
Hoursh
496 Working with RADIUS attributes