Quantcast
Viewing all articles
Browse latest Browse all 10045

Listing the contents of Users Folders programatically

Hi,

I'm creating an RS script to set permissions in a Reporting Services instance and I wonder if there is an easy way to list all users in /Users folders/ programatically?

At present I've created a manually populated array as follows:

Dim itemPath(3) As String
itempath(0) = "/users folders/user1/my reports"
itempath(1) = "/users folders/user2/my reports"
itempath(2) = "/users folders/user3/my reports"
itempath(3) = "/users folders/user4/my reports"

Is there any way of automatically populating my itemPath() array with each user in the users folders folder?

Many thanks,

Phil


Viewing all articles
Browse latest Browse all 10045

Trending Articles