The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Developing Universal Windows apps!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

 none
How to get check user permission on specific capabilities? RRS feed

  • Question

  • Hi All,

    We have a requirement, we want to develop Model based on Windows 10 universal app manifest capabilities and user permission.

    1. What are the capabilities needs Device user permission?(Like: When Device Location C# code runs Operating System automatically ask the user permission).

    2. Is there any API to check user acceptance/declined status of corresponding capability.(Like: When Device Location alert popped, user declined, then we want to ask user to go and change in settings)

    We are in process of developing Model like follow:

    1. We need to add capability entry in manifest file.

    2. Then, We user really using capability, We want to check the application is already got permission from user for that specific capability.

    3. Based user permission status, Then we processed to: 1. C# API call, OR 2. Ask user to change permission in settings, 3. show specific alert/page.


    Thanks


    Pallam Madhukar Windows Phone Developer

    Thursday, November 19, 2015 10:15 AM

Answers

All replies