Box API call doesn't return external users

新規投稿

コメント

3件のコメント

  • amwiler

    Hi, if I understand your question correctly I think you are asking why this happens and how to fix it?

    The API doesn't return anything for external users once the file/folder ownership has been changed. It's kinda that simple. I have this problem in Splunk on an integrated Box API. Events will return "External Folder" if a managed user uploads something to an out of company Box account or if the managed user turns over a folder they've created to another Box Account. I've actually seen managed users upload company documents to personal Box accounts on external folders and I can do nothing about it. The best I've seen is that in Content Manager, you can sometimes see the accessible_by_name owner.

     

    Capture.JPG

    I've done some testing with this and it seems that it's out of Box's control since the Folder/Files Ids and object are not actually owned by the managed user-- which is outside your authorization. I think I got to the conclusion that you've have to piece together event logs to see when the changed occurred (say if someone moved a company folder to an external folder), but after that, all your vizability is gone. 

     

    If any other user on here as a better understanding or an actual fix to this, I'd like to know as well. 

     

    I hope that helps, I apologize if I explained something you already knew.

     

     

    0
    コメントアクション パーマリンク
  • neerajk

    Hi Amwiler,

     

    In regards to the problem with External Business Partner we have to utilize 2 API's. As I have developed one solution for Folder Ownership transfer to External Users. Whenever, the folder is being transferred  outside the tenant we do not get the folder name. We need that folder name in order to notify the offender and to restore it back.

     

    Using Enterprise Event API pull the Enterprise Log of particular event_type like 'move' . Filter the accessible_by, if it is outside domain then make another call to capture detail about the event using "As-user" feature.

    This feature will be enabled by Box Team for your Enterprise App.

    Make a "As-user" call using User Event API you will get all the details. One need to have minimum Co-admin to perform this task.

    Similarly, anything which goes outside the box enterprise tenant cannot be captured or queried.

    The best way is to look out for Events and then break it to query for more details.

     

    Hope it helps!

    I will soon publish my solution for all.

    0
    コメントアクション パーマリンク
  • lberelovich

    Hi,

     

    Thank you for your answer but I'm asking about external users collection.

     

    thanks,

    Kobi

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。