Checking a list of files for read access
I have a list of 205 file ids, and I would like to check if the currently logged in user has access to them in the most efficient way possible. They may only have access to a small number of the files.
Right now I am concurrently checking 10 at a time using the call boxClient.FilesManage.GetInformationAsync(fileId). If the call succeeds, they have access, otherwise they do not. However this results in lots of network overhead since it is a rest call for each of the 205 documents.
Is there a better call I could be making use of for this check?
サインインしてコメントを残してください。
コメント
0件のコメント