Is it possible in "document list" to control whether a user permitted to see the document,Different permissions for each document in the list
is it possible in "document list" to control whether a user primted to see the document,
Differen开发者_开发技巧t permissions for each document in the list is it possible to do from in side a wepart code or from a workflow codeYes, you can give individual permissions for every document in a list. To do this, you have to break up role inheritance with the BreakRoleInheritance() method on the SPListItem.
You can then set new individual permission for this item. Have a look at this blog post it describes how to change permissions via code.
So remove the permissions for an item and re-add them only for the user how should be able to see or edit them. Using different RoleDefinitions you can decide what an user is able to do with the document. Only see it or also be able to edit it.
精彩评论