---
title: "loadPlayers(forIdentifiers:withCompletionHandler:)"
framework: gamekit
role: symbol
role_heading: Type Method
path: "gamekit/gkplayer/loadplayers(foridentifiers:withcompletionhandler:)"
---

# loadPlayers(forIdentifiers:withCompletionHandler:)

Loads information about a list of players from Game Center.

## Declaration

```swift
class func loadPlayers(forIdentifiers identifiers: [String], withCompletionHandler completionHandler: (([GKPlayer]?, (any Error)?) -> Void)? = nil)
```

## Parameters

- `identifiers`: The identifiers for the players to load.
- `completionHandler`: The block that GameKit calls when it completes the request. The block receives the following parameters:
