---
title: playerID
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkturnbasedparticipant/playerid
---

# playerID

The player identifier for this participant.

## Declaration

```swift
var playerID: String? { get }
```

## Discussion

Discussion This property is nil if this slot isn’t filled yet — for example, when Game Center uses automatch to fill this slot.

## See Also

### Retrieving Participant Details

- [lastTurnDate](gamekit/gkturnbasedparticipant/lastturndate.md)
- [timeoutDate](gamekit/gkturnbasedparticipant/timeoutdate.md)
- [player](gamekit/gkturnbasedparticipant/player.md)
- [status](gamekit/gkturnbasedparticipant/status-swift.property.md)
- [GKTurnBasedParticipant.Status](gamekit/gkturnbasedparticipant/status-swift.enum.md)
