There is a use in our project code in the SiteData WebService, for some reason that use is problematic and anyway it is code that runs on the server– therefore I look for object model equivalent for the EnumerateFolder method
Anyone has any ideas ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SPList (amongst other classes) have a RootFolder property.
From that you can use Files to get a list of files. And SubFolders to get a collection of sub-folders.