I would like to show the Shared Documents on a sub-site of a main site. Many subsites will be created, all with a Shared Docs library and a Word doc titled identically, but different content
We have methods to see if the current user is an admin or one of our custom roles (not a SP role)
I'd like programmatically open documents in the Shared Docs library in Read Only mode for certain roles (SP and custom), and enable editing for other roles
I have been researching all day long but have not yet found a way to say SPFile or SPListItem.Open(). I have found the checkout() methods but I don't think it can help.
Any help would be gratly appreciated. Thanks is advance