Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

uap:Capability

Declares a capability required by a package.

Element hierarchy

<Package>
   └─ <Capabilities>
      └─ <uap:Capability>

Syntax

<uap:Capability
 Name = 'A required string that can have one of the following values: "documentsLibrary", "picturesLibrary", "videosLibrary", "musicLibrary", "enterpriseAuthentication", "sharedUserCertificates", "userAccountInformation", "removableStorage", "appointments", "contacts", "phoneCall", "blockedChatMessages", "objects3D", "voipCall", or "chat".' />

Attributes

Attribute Description Data type Required Default value
Name The name of the capability. A string that can have one of the following values: documentsLibrary, picturesLibrary, videosLibrary, musicLibrary, enterpriseAuthentication, sharedUserCertificates, userAccountInformation, removableStorage, appointments, contacts, phoneCall, blockedChatMessages, objects3D, voipCall, chat. Yes

Child elements

None.

Parent elements

Parent element Description
Capabilities Declares the access to protected user resources that the package requires.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10
Minimum OS Version Windows 10 version 1511 (Build 10586)

Remarks

The App capability declarations topic describes the capability values.

Examples

Here's an example of a Capabilities node.

<Capabilities>
 <Capability Name="internetClient"/>
 <Capability Name="internetClientServer"/>
 <Capability Name="privateNetworkClientServer"/>
 <Capability Name="allJoyn"/>
 <uap:Capability Name="documentsLibrary"/>
 <uap:Capability Name="picturesLibrary"/>
 <uap:Capability Name="videosLibrary"/>
 <uap:Capability Name="musicLibrary"/>
 <uap:Capability Name="enterpriseAuthentication"/>
 <uap:Capability Name="sharedUserCertificates"/>
 <uap:Capability Name="userAccountInformation"/>
 <uap:Capability Name="removableStorage"/>
 <uap:Capability Name="appointments"/>
 <uap:Capability Name="contacts"/>
 <uap:Capability Name="phoneCall"/>
 <uap:Capability Name="blockedChatMessages"/>
 <uap:Capability Name="objects3D"/>
</Capabilities>

See also


Feedback

Was this page helpful?

Additional resources