vbscript to create object with octetlist property
Posted on 2002-07-12
When writing a vbscript to create an application object, I encountered a small problem. How do I read/write octet lists in vbscript.
Can you tell me what should be on the place of the questionmarks in order to write the octet list value.
Set oNwDir = WScript.CreateObject("NWDirLib.NWDirCtrl.1")
set oMyEntry = oNWDir.Entries.Add("App:Application","AppObjName")
oMyEntry.SetFieldValue "App:Caption","Test App Obj"
oMyEntry.LoadFieldValueFromFile "App:Startup Script","c:\temp\sscript.txt"
oMyEntry.?????? "App:Fs Rights Path","octet list data"
If you are not familiar with Netware, you could do the same with an LDAP:// thing. Problem is just that the "octet list" can not be set or get with SetFieldValue or LoadFieldValueFromFile.