Jump to content
Tom Wellige

PBXUser.IsLoggedIn

Recommended Posts

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.IsUserOrGroupBusy or PBXScript.IsUserOrGroupBusyEx function.

 

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.