---
title: providerIdentifier
framework: fileprovider
role: symbol
role_heading: Instance Property
path: fileprovider/nsfileproviderextension/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.

## See Also

### Accessing the document storage

- [documentStorageURL](fileprovider/nsfileproviderextension/documentstorageurl.md)
