MANAGE_USERS permission not found in `android.permission` list

13,563

You need to sign your app with platform signature to use this permission. This maybe helpful for you.

Share:
13,563
Admin
Author by

Admin

Updated on June 04, 2022

Comments

  • Admin
    Admin almost 2 years

    I want to use UserManager in my code. But for that it requires the permission MANAGE_USERS

    I tried adding it in the manifest but there is no permission listing in manifest called MANAGE_USERS.

    Then I tried adding this line

    <uses-permission android:name="android.permission.MANAGE_USERS" />

    but still it gives error while running , says

    java.lang.SecurityException: You need MANAGE_USERS permission to: query user

    My minSdk version is 14. How can I add this permission? Thanks in advance..