Jump to content

- PBXUser

- # PBXUser.IsLoggedIn()

  Followers 0

  Lua → VBScript SwxWare v13.10

  This function returns true if the script user is currently logged in into his SwyxWare account.

      if (PBXUser.IsLoggedIn() == true) then
        -- do something
      end

  This function returns a boolean value.

  Please note, that the SwyxServer caches the busy 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 status of any user within the SwyxWare, you can use the PBXScript.GetUserByAddress() function.

  This function is identical to the GSE build-in function IsLoggedIn().

  By Tom Wellige

  - May 22, 2022
  Share
  Share
  Followers 0

## 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.