Wiki - SwyxPEDIA

 

PBXUser.IsLoggedIn

This function returns True if the user for whom the current script is running is currently logged in with his configured login device.

If PBXUser.IsLoggedIn Then
...
End If

This function returns a boolean value.

Each user can define, which of his devices (if he uses e.g. a SwyxIt!, a SwyxPhone and a SwyxDect handset) should be used to signal his login state. This can also be done from the administrator for all users or one single user.

Please note, that the SwyxServer caches the login state of a user. So once you have called this function the first time in the script it will always return the same value if being called again.

If you need to get current values you can either use the PBXConfig COM/DCOM objects GetUserByAddress function and then check the state value, or call the PBXScript.IsUserOrGroupBusyEx function.

 

Server Script API




 |   | View Topic History  |
Wiki Help
Sponsors
bluvo AG
logic-base GmbH
Swyx Solutions AG, Germany

 

Charity

German Aid for Afghan Children

Swyx Forum supports the German Aid for Afghan Children (Kinderhilfe Afghanistan)