On Thu, 31 Jul 2014 10:28:57 +0200 Simeon Ackermann wrote:
> i have problems to get the path of a shared file for user b, shared
> from user a. To identify the file i have its filedid.
> But especially if the file is in a collection (a already shared
> folder) i cant find a solution in the API.
> 
> If the file was directly shared its easy with:
> OCP\Share::getItemSharedWithBySource('file', $itemSource);
> 
> But if the file is in shared folder (or subsub...folder) this
> function doesnt gives me information about the shared path for user b.
> 
> I hope someone has an idea and can help me.

I don't have a direct answer at the moment. But could you give use some
context what you want to achieve? From where do you get the file Id you
want to look up?

Cheers,
Björn

-- 
Björn Schießle <[email protected]>
Software Developer
ownCloud GmbH - www.owncloud.com

Your Data, Your Cloud, Your Way!

ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel

Reply via email to