ShareFile .net sdk - How to get shared folder by its Id with client users credentials

  • 1
  • Question
  • Updated 1 year ago
I'm currently working on the ShareFile api using c#. The sdk in particular is the ShareFile .net sdk posted on github here: 

I am not able to figure out  How to get shared folder by its Id/name/guid with client users credentials 
Photo of Mosin


  • 10 Posts
  • 0 Reply Likes

Posted 1 year ago

  • 1
Photo of Ryan Jensen

Ryan Jensen, Official Rep

  • 13 Posts
  • 2 Reply Likes
Getting a shared folder is the same for client or employee credentials. Does the client user have access to the shared folder you are trying to access?
Photo of Alan Chan

Alan Chan, Employee

  • 8 Posts
  • 2 Reply Likes
Hi Mosin

If you already know the id of the folder you can try the following:

var query = SFClient.Items.Get(SFClient.Items.GetEntityUriFromId("folderid")).Execute();

Replace "folderid" with the actual folder id.