---
title: SFExtensionProfileKey
framework: safariservices
role: symbol
role_heading: Global Variable
path: safariservices/sfextensionprofilekey
---

# SFExtensionProfileKey

A string the system uses as a key in a user info dictionary to identify a profile identifier.

## Declaration

```swift
let SFExtensionProfileKey: String
```

## Mentioned in

Messaging between the app and JavaScript in a Safari web extension Passing messages between Safari app extensions and injected scripts

## See Also

### Injected style sheets and scripts

- [Using injected style sheets and scripts](safariservices/using-injected-style-sheets-and-scripts.md)
- [Injecting a script into a webpage](safariservices/injecting-a-script-into-a-webpage.md)
- [Injecting CSS style sheets into a webpage](safariservices/injecting-css-style-sheets-into-a-webpage.md)
- [Passing messages between Safari app extensions and injected scripts](safariservices/passing-messages-between-safari-app-extensions-and-injected-scripts.md)
- [SFSafariExtensionHandler](safariservices/sfsafariextensionhandler.md)
- [SFSafariExtensionManager](safariservices/sfsafariextensionmanager.md)
- [SFSafariExtensionState](safariservices/sfsafariextensionstate.md)
- [SFSafariPageProperties](safariservices/sfsafaripageproperties.md)
- [SFSafariExtensionHandling](safariservices/sfsafariextensionhandling.md)
