Lua → VBScript SwxWare v13.10
The function sets or gets the script users' login pin of his SwyxPhone of DCF desk phone (e.g. Yealink phone).
-- get current pin local sPin = PBXUser.PhonePin() -- set new pin PBXUser.PhonePin("12345")
This functions takes or returns a string value.
A newly set pin must not contain any characters but just digits, and has a maximum length of 16 digits.
![Tom Wellige](http://content.invisioncic.com/r255538/monthly_2020_04/facebook2.thumb.png.7201b63ad83065920f23d2478c4a838f.png)
By Tom Wellige