---
title: scopedIDsArePersistent()
framework: gamekit
role: symbol
role_heading: Instance Method
path: gamekit/gkplayer/scopedidsarepersistent()
---

# scopedIDsArePersistent()

Returns a Boolean value depending on whether the player identifiers are persistent across game instances or unique to the game instance.

## Declaration

```swift
func scopedIDsArePersistent() -> Bool
```

## Mentioned in

Protecting the player’s privacy using scoped identifiers

## Return Value

Return Value Returns true if the gamePlayerID and teamPlayerID properties are the same across all instances of this game; otherwise, false if the identifiers are unique to this game instance only.

## Discussion

Discussion An instance is the time between when the game launches and when the game terminates.

## See Also

### Identifying the player

- [gamePlayerID](gamekit/gkplayer/gameplayerid.md)
- [teamPlayerID](gamekit/gkplayer/teamplayerid.md)
- [GKPlayerIDNoLongerAvailable](gamekit/gkplayeridnolongeravailable.md)
- [playerID](gamekit/gkplayer/playerid.md)
