HiI have a large number(a couple of thousands) of PW documents that I need to set document access to individual users.Is there some way of doing this with powershell?The below commands only seem to be for groups/userlist. Is there some command also for users?Set-PWDocumentGroupAccessSet-PWDocumentUserListAccess
I don't see a way to do it at the document level either, you can do it at the folder level using:
This might be better, if you set individual document permissions and one of the permissions is to delete the file, if the user deletes the file and replaces it with a file of the same name the permissions will be reset to what it inherits from the folder.
Also, depending on how frequent an occurrence this is you might go ahead and setup userlists for now, even if you only put one person it it. Reason: If that one person leaves the firm you don't have to hunt down every file they were individually placed on and sub in the replacement's security. Instead drop in the new person to the user list (easily found via the Member Of tab in the old user's properties) and they'll have access to all the appropriate files.
Note: A large number of access control records in the datasource will affect projectwise performance. We explicitly deny requests to setup permissions on an individual file basis (and limit which folders we'll set them on). I realize not everybody has this option, but large numbers of access controls can really be a problem, and is easy to screw up (see my note about deleting/replacing)
HmmI was not aware of performance issues due to access control on document level. But yeah when u mention it I can understand that this might affect performance.This is just a small part(about 3000 documents) of a migration of documents(roughly 300000 documents) from an old document management system that I am doing. So the document access requirements is a heritage from that DMS.Creating folders will make a mess of the current folder structure that we have.Since this only applies to about 65 users I will test creating a userlist for each user and apply that userlist to the specific document and see what happens.I suspect the only way to see if the possible performance issues will be to big is to test?Thanks Kevin
Bentley might have actual info on when ACLs can cause a problem. I know a few years back when we did a hearth check with them it was one of the things they look at. I haven't checked in a bit but I'll look at what we have on some of our data sources.