---
title: "authorizationStatus(for:)"
framework: contacts
role: symbol
role_heading: Type Method
path: "contacts/cncontactstore/authorizationstatus(for:)"
---

# authorizationStatus(for:)

Returns the current authorization status to access the contact data.

## Declaration

```swift
class func authorizationStatus(for entityType: CNEntityType) -> CNAuthorizationStatus
```

## Parameters

- `entityType`: Set to doc://com.apple.contacts/documentation/Contacts/CNEntityType.

## Mentioned in

Accessing the contact store

## Return Value

Return Value The current authorization status to access the contact data. Discussion Based on the authorization status, your application might display or hide its UI elements that access any Contacts API. This method is thread-safe and will not block your application. To see different authorization status, see CNAuthorizationStatus.

## See Also

### Requesting access to the user’s contacts

- [requestAccess(for:completionHandler:)](contacts/cncontactstore/requestaccess(for:completionhandler:).md)
- [CNAuthorizationStatus](contacts/cnauthorizationstatus.md)
- [CNEntityType](contacts/cnentitytype.md)
