Jump to content
Gold Sponsor: Data-Way IT-Consulting, Austria

  • PBXUser.UserId()

    PBXUser.UserId()

    Lua   → VBScript   SwxWare v13.10

     

    This function returns the current script users' user id. The user id is a SwyxWare internal representation of a user.

     

    local nID = PBXUser.UserId()

     

    This function returns a number value.

     

    This function allows read access only.

     

    Every SwyxWare user has his own unique user id on a SwyxServer. SwyxWare internally uses the user id to identify a user.

     

    The user id is also used in the PBXScript.PreviousScripts() function to identify a user's script.

     

    Beside this property there is the PBXUser.Name() function which returns the name of the current script user.

     

    If you need to resolve the name or the user id of any SwyxWare user (not only the current script user) you can use the PBXScript.GetUserByAddress() function.
     

    If you need to differer SwyxWare user in your own application/script you might consider using the user id instead of the PBXUser.Name(). The ids are unique and will not change over the time. 

     

     


    Tom Wellige
     Share


     Share




×
×
  • 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.