I have a .Net WPF application and am using the Box V2 SDK. I have an app that is authenticating using a bearer token.
I get through the authenitcation and authorize box through a browser. once that is done, I am attempting to search for a folder.
here is the relevant code:
var results = await client.SearchManager.QueryAsync("Accounts Payable");
var userClient = new BoxClient(config, session, asUser: "user@domain.com"); //actual user redacted
var userResults = await userClient.SearchManager.QueryAsync("Accounts Payable", type: "folder");
results will return about 7 results. all are of type file, and Im looking for a folder. userResults returns an error that the user cannot be found. this is the same user that I am authorizing the app through box. what I am really trying to do is search for a folder (we have the full folder path) and get the current owner. is that possible?
