Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Getting RootContainer for a User with limited permissions
Migrateduser
Hello there -
I'm accessing mediabin using it's exposed webservice. I authenticate myself using a mediabin server Id/pwd I'm given. FYI I do this outside teamsite session. So my webservice client is running and authenticates with mediabin server, completely outside of teamsite context.
ok. So the userId I have has access to only a specific container (say "MyContainer") I can read/write etc within this container. When I login using "MediaBin Thick client" I can see "MyContainer"
Now, from my webservice client when I call "GetRootContainer" I dont get "MyContainer". I believe I get the actual rootcontainer of mediabin server. And since I dont have permissions anywhere else, I cant really drill down using this root container I just got.
So my question is
"How do I get the rootContainer of a specific user?" Meaning, if a user is created with permissions only to a specific container, how do I get that root?
I looked various calls like (page numbers are from the SDK pdf) shown below, but all these calls need some dependent information. For instance, "GetContainerByPath" needs the rootContainerID...But I dont have my user's rootContainer !!
search_Containers - page 504
MBSearchCriteria - page 423
GetSearchableMetadata - page 355
GetContainerByPath - page 331
GetRootContainer - page 354
getContainerTree - page 465
MBContainerTreeNode - page 409
MBContainer - page 408
So how do I do it?
Thanks
Find more posts tagged with
Comments
There are no comments yet