---
title: "loadFriendsAuthorizationStatus(_:)"
framework: gamekit
role: symbol
role_heading: Instance Method
path: "gamekit/gklocalplayer/loadfriendsauthorizationstatus(_:)"
---

# loadFriendsAuthorizationStatus(_:)

Returns whether the player authorizes your game to access their friends list.

## Declaration

```swift
func loadFriendsAuthorizationStatus(_ completionHandler: @escaping @Sendable (GKFriendsAuthorizationStatus, (any Error)?) -> Void)
```

```swift
func loadFriendsAuthorizationStatus() async throws -> GKFriendsAuthorizationStatus
```

## Parameters

- `completionHandler`: The block that GameKit calls when it completes the request. The block receives the following parameters: An error occurs if you don’t add the doc://com.apple.documentation/documentation/BundleResources/Information-Property-List/NSGKFriendListUsageDescription key to the information property list file.

## Mentioned in

Connecting players with their friends in your game

## See Also

### Accessing Friends and Recents

- [GKFriendsAuthorizationStatus](gamekit/gkfriendsauthorizationstatus.md)
- [loadFriends(_:)](gamekit/gklocalplayer/loadfriends(_:).md)
- [loadFriends(identifiedBy:completionHandler:)](gamekit/gklocalplayer/loadfriends(identifiedby:completionhandler:).md)
- [NSGKFriendListUsageDescription](bundleresources/information-property-list/nsgkfriendlistusagedescription.md)
- [loadChallengableFriends(completionHandler:)](gamekit/gklocalplayer/loadchallengablefriends(completionhandler:).md)
- [loadRecentPlayers(completionHandler:)](gamekit/gklocalplayer/loadrecentplayers(completionhandler:).md)
