Share via


CNAuthorizationStatus Enum

Definition

Enumerates the application's current authorization to access the CNContactStore.

[ObjCRuntime.Native]
public enum CNAuthorizationStatus
[<ObjCRuntime.Native>]
type CNAuthorizationStatus = 
Inheritance
CNAuthorizationStatus
Attributes

Fields

Name Value Description
NotDetermined 0

The user has not yet chosen whether the app may access the Contacts database.

Restricted 1

The app may not access the Contacts database, although the reason may not be the user's choice, but rather something such as parental controls.

Denied 2

The app has been denied access to the Contacts database.

Authorized 3

The app is authorized to access the Contacts database.

Limited 4

Applies to