User's Manual

Looks up the list of all sessions for the specified username.
The username attribute is looked up automatically from the RADIUS Access-Request (User-Name attribute). If a
$callingstationid argument is supplied, sessions that match that Calling-Station-Id are excluded from the
count of active sessions.
GetUserActiveSessionCount()
GetUserActiveSessionCount($username)
Counts the number of currently active sessions for the current username.
The username attribute is looked up automatically from the RADIUS Access-Request (User-Name attribute).
GetUserCumulativeUsage()
GetUserCumulativeUsage($username)
Looks up the total cumulative time for the username.
The username attribute is looked up automatically from the RADIUS Access-Request (User-Name attribute).
GetUserCurrentSession()
GetUserCurrentSession($username)
Looks up the current (most recent) active session for the specified username.
See "GetCurrentSession()" on page 488 for details of the return value.
GetUserFirstLoginTime()
GetUserFirstLoginTime($username)
Looks up the first login time for the specified username.
The username attribute is looked up automatically from the RADIUS Access-Request (User-Name attribute).
GetUserSessions()
GetUserSessions($username, $from_time, $to_time = null)
Calculate the number of sessions for accounting records matching a specific user-name. The username
attribute is looked up automatically from the RADIUS Access-Request (User-Name attribute).
See "GetTraffic()" on page 490 for details on how to specify the time interval.
GetUserTime()
GetUserTime($username, $from_time, $to_time = null)
Calculate sum of session times in a specified time interval.
See "GetTraffic()" on page 490 for details on how to specify the time interval.
GetUserTraffic()
GetUserTraffic($username, $from_time, $to_time = null, $in_out = null)
Calculate sum of traffic counters in a time interval. Sessions are summed if they have the same User-Name
attribute as that specified in the RADIUS Access-Request.
See "GetCallingStationTraffic()" on page 487 for details on how to specify the time interval.
Advanced Developer Reference
The reference documentation in this section is intended for advanced usage by developers.
Dell Networking W-ClearPass Guest 6.4 | User Guide Reference | 491