Dear sir's
I have bottom with simple action to open AutoCAD file
but i want to make it read only so that the end user won't be able to edit it
i tried this as global function
File.SetPermissions("AutoPlay\\Docs\\stations.dwg" , SID_EVERYBODY, SET_ACCESS, READ_PERMISSIONS, NO_INHERITANCE);
but it don't gives me what i need
can anone help me what is wrong with this function ?
and what other solution i can use ?
best regards
I have bottom with simple action to open AutoCAD file
but i want to make it read only so that the end user won't be able to edit it
i tried this as global function
File.SetPermissions("AutoPlay\\Docs\\stations.dwg" , SID_EVERYBODY, SET_ACCESS, READ_PERMISSIONS, NO_INHERITANCE);
but it don't gives me what i need
can anone help me what is wrong with this function ?
and what other solution i can use ?
best regards
Comment