---
title: providerIdentifier
framework: fileprovider
role: symbol
role_heading: Instance Property
path: fileprovider/nsfileprovidermanager/provideridentifier
---

# providerIdentifier

A purpose identifier for coordinated reads and writes.

## Declaration

```swift
var providerIdentifier: String { get }
```

## Discussion

Discussion This property contains a unique string that can be used as a purpose identifier for file coordination. The File Provider extension should use this identifier when performing coordinated reads and writes, to help prevent deadlocks. Pass this identifier to the file coordinator’s setPurposeIdentifier: method before performing a coordinated read or write. This method returns the containing app’s bundle identifier. note: While this property is available on macOS 11+, you don’t need to use it when creating a file provider extension that adopts the NSFileProviderReplicatedExtension protocol.

## See Also

### Accessing File Provider data

- [default](fileprovider/nsfileprovidermanager/default.md)
- [documentStorageURL](fileprovider/nsfileprovidermanager/documentstorageurl.md)
