Query to retrieve list of checked out documents for a user
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Query to retrieve list of checked out documents for a user

 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development
Author Message
Shahan
Guest





Posted: Wed Jan 12, 2005 10:00 pm    Post subject: Query to retrieve list of checked out documents for a user Reply with quote

Hi,
Is there a way to retrieve all the documents checked out by a user in
a sharepoint site? I am trying to do this programmatically using the
object model. I checked the sharepoint SQL database its possible to
get it with a direct query but I am trying to avoid that.
All ideas are welcome :)
Back to top
Marco
Guest





Posted: Thu Jan 13, 2005 1:47 am    Post subject: RE: Query to retrieve list of checked out documents for a us Reply with quote

You could loop through all the files in the document library and create an
SPFIle object for the file in the loop.
You can then call the CheckedOutBy propertie of the file which hlds the name
of the user who checked out the file.

Marco

"Shahan" wrote:

Quote:
Hi,
Is there a way to retrieve all the documents checked out by a user in
a sharepoint site? I am trying to do this programmatically using the
object model. I checked the sharepoint SQL database its possible to
get it with a direct query but I am trying to avoid that.
All ideas are welcome :)
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Portal Server Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB