Share via


ContactStoreAccessType Enum

Definition

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

public enum class ContactStoreAccessType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ContactStoreAccessType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ContactStoreAccessType
var value = Windows.ApplicationModel.Contacts.ContactStoreAccessType.appContactsReadWrite
Public Enum ContactStoreAccessType
Inheritance
ContactStoreAccessType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
contactsSystem

Fields

Name Value Description
AppContactsReadWrite 0

Read and write contacts that belong to the app only.

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 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.

Applies to