def claim_shareoffer(user_id, username, visible_name, share_offer_id): """Claim a shared folder offer sent to an email. Used when a user has been offered a shared folder, but has not subscribed yet and they are not a storageuser. This will create a storageuser in an inactive state so they will have the share once they subscribe. """ gw = SystemGateway() return gw.claim_shareoffer(user_id, username, visible_name, share_offer_id)