Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
sukantasaha24
6 years agoExplorer | Level 3
How can I get the Owner name of a file that is shared with me using file id or preview url
How can I get the Owner name or email of a file that is shared with me using file id or file preview url.
I am using .Net SDK.
Thanks
sukantasaha24
6 years agoExplorer | Level 3
Hi,
Thanks for quick response.
In my case file has been individually shared with me,
when I am trying to get the metadata of the file using GetFileMetadataAsync and file id as a parameter to get the metadata of the shared file why OwnerDisplayNames is null?
Code :
var FileMetaData = await dc_Member.Sharing.GetFileMetadataAsync(SharedFile.Id);
Greg-DB
Dropbox Community Moderator
6 years agoUnfortunately, the OwnerDisplayNames value can't always be fetched, though I don't have more specific information to share on when/why that is the case. I'll send this along to the team to ask to get this better documented though.
- swively4 years agoExplorer | Level 3
@Greg-DB
Did you ever get clarification on why the OwnerDisplayNames field can't always be fetched?- Greg-DB4 years ago
Dropbox Community Moderator
swively No, unfortunately I don't have any updated guidance/documentation on that.
- swively4 years agoExplorer | Level 3
@Gred-DB
Is there any way to determine who owns/uploaded a file via the api? The best I can find is the owner of the shared folder, but I'm wondering if there is a way to see who uploaded a specific file.
About Discuss Dropbox Developer and API
Explore Dropbox Developer & API discussions with developers like you.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!