ApplicationData.SharedLocalFolder Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the root folder in the shared app data store.
public:
property StorageFolder ^ SharedLocalFolder { StorageFolder ^ get(); };
StorageFolder SharedLocalFolder();
public StorageFolder SharedLocalFolder { get; }
var storageFolder = applicationData.sharedLocalFolder;
Public ReadOnly Property SharedLocalFolder As StorageFolder
Property Value
The file system folder that contains files.
Remarks
Accessing SharedLocalFolder
SharedLocalFolder is only available if the device has the appropriate group policy. If the group policy is not enabled, the device administrator must enable it. From Local Group Policy Editor, navigate to Computer Configuration\Administrative Templates\Windows Components\App Package Deployment, then change the setting "Allow a Windows app to share application data between users" to "Enabled."
After the group policy is enabled, SharedLocalFolder can be accessed.