Is it possible to share data between users in a Windows Store App?

↘锁芯ラ 提交于 2019-12-05 23:50:27

This accepted answer is outdated. It is now possible to share data between users of a given app in Windows 10, by changing a setting in Group Policy Editor. The path in GP Editor (gpedit.msc) is:

\ Local Computer Policy \ Administrative Templates \ Windows Components \ App Package Deployment \ "Allow a Windows app to share application data between users".

Set to "Enabled", and an app can share its data across users.

Once enabled, in UWP apps, the path given by Windows.Storage.ApplicationData.Current.SharedLocalFolder.Path is available for sharing data across users. When not enabled, the path returned by this is Null.

You can only share between accounts which share a Windows Store account and even then the app data is still installed for each account. http://winsupersite.com/windows-8/windows-8-tip-share-apps-between-multiple-accounts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!