ContactStoreAccessType ContactStoreAccessType ContactStoreAccessType ContactStoreAccessType ContactStoreAccessType Enum


Defines the type of access the app has to the ContactStore.

public : enum class ContactStoreAccessType
enum class winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType : int32_t
public enum ContactStoreAccessType
Public Enum ContactStoreAccessType
var value = Windows.ApplicationModel.Contacts.ContactStoreAccessType.allContactsReadOnly;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AllContactsReadOnly AllContactsReadOnly AllContactsReadOnly AllContactsReadOnly AllContactsReadOnly 1

Read access to all contacts, those provided by the calling app and from other sources. This value requires the contacts capability. See App capability declarations for more information.

AllContactsReadWrite AllContactsReadWrite AllContactsReadWrite AllContactsReadWrite AllContactsReadWrite 2

Read and write access to all contacts. This value is not available to all apps. Your developer account must be specially provisioned by Microsoft in order to request this level of access.

AppContactsReadWrite AppContactsReadWrite AppContactsReadWrite AppContactsReadWrite AppContactsReadWrite 0

Read and write contacts that belong to the app only.