How to programatically know Who have Read + Write permission on a DVB file.

How to programatically know Who have Read + Write permission on a DVB file.

Anonymous
Not applicable
254 Views
1 Reply
Message 1 of 2

How to programatically know Who have Read + Write permission on a DVB file.

Anonymous
Not applicable
Hi,

We have around 30 designers and are sharing a DVB file through a common network folder. For some emergency changes I had to modify the DVB file even it is on use. This is the procedure we are following.

1) In the server; from open files we will find out who has the Write + Read permission.
2) From that user we will modify the file.
3) As other users starts a new AutoCad session the changes will take effect.

Here my main concern is, I had to go to the server to find who has the permission. Since I don't have admin permission on server I had to take help from our network admin each time to find the correct user. Can we write code in vb that will find who have read + write on DVB file. so that the program itself tell me where [which user] I had to go and edit. If anyone tried something like this or solved the similar issues please share here.
Regards,
Shijith
0 Likes
255 Views
1 Reply
Reply (1)
Message 2 of 2

arcticad
Advisor
Advisor
The way you should handle this is to have a loader dvb file on the server.

Only load the loader file from the server.

Have it load then check the modify date of the other dvb files.

Write this info to a text file on the server.

Then if the files have changed, copy them to the local machine
and have the loader dvb load them all in from the local drive.

Now anyone can modify the original file.

Your changes will propagate as soon as they restart AutoCAD.
---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes