I'm having a similar issue with running similar code using vbscript. The problem is I get an error with the pDoc.Update line. The error states that pDoc.Update is not a valid method. Note: For each document give the user "ABAILEY" read access. Do Until objRecordset.EOF Set pDoc = pNRTDMS.GetObjectByID(objRecordset("Document_ID")) pDoc.Security.UserACLs.Add "ABAILEY", imRightRead objRecordset.MoveNext Loop pDoc.UpdateAny suggestions?
jny thanks for your help. Actually with this release we have upgraded to 8.3 however I noticed that the version of the IManage.dll is still 8.0. I also do not see the DispatchInterfaces.dll. The upgrade is installed because under add/remove programs I see Worksite Server 8.3. The only 8.3 dll that I notice is a dll named imDms.dll. Shouldn't the 8.3 version of IManage.dll and DispatchInterface.dll be available after the upgrade?So not going down the 8.3 path I have tried to follow the other route you have suggested using the iManUserACLs you suggested. However I do not see an Update or UpdateProfile metod available for this object. The COM Reference Manual discusses using the Refresh method however I get the error "Object doesn't support this property or method" error that I received with my previous code using the Update with the Doc object.The following is the new code... Do Until objRecordset.EOF Set pDoc = pNRTDMS.GetObjectByID(objRecordset("NRTID")) Set pDocSec = pDoc.Security Set pUserACLs = pDocSec.UserACLs pUserACLs.Add "ABAILEY", imRightRead objRecordset.MoveNext Loop pUserACLs.Refresh