|
|||||
The REGISTERED_PASSWORD string tag must be in taglists prepared for fax server functions that require a valid NET SatisFAXtion user name and password. Before a plain-text password can be added to a taglist, it must first be encrypted with the CAS EncryptOnce method. | |||||
XML Interface: |
|||||
The CASEncryptOnce
function from the CAS XML Script Library should be used to encrypt the
password when using the CAS XML Interface. |
|||||
Type | Max Size | Multiple Allowed | |||
String | 32 | No | |||
Example: |
|||||
var UserName
=
"Fred"; var UserPassword = CAS.EncryptOnce("zorphon"); function DeleteMessage( MessageHandle) { var Tl = CAS.New(); CAS.AddTag(Tl,"DELETE_MESSAGE",""); CAS.AddTag(Tl,"REGISTERED_NAME",UserName); CAS.AddTag(Tl,"REGISTERED_PASSWORD",UserPassword); CAS.AddTag(Tl,"MESSAGE_HANDLE",MessageHandle); // Delete message on this already open session Tl = CAS.Send(cInst,Tl); LastErrorNum = CAS.GetTag(Tl,"STATUS_NUM",0); LastErrorStr = CAS.GetTag(Tl,"STATUS",0); CAS.Delete(Tl); return( LastErrorNum); } |
|||||
See Also: |
|||||
REGISTERED_NAME |