Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MANAGE_USERS permission not found in `android.permission` list

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


1 Answers

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

like image 165
Yogesh Umesh Vaity Avatar answered Dec 06 '25 23:12

Yogesh Umesh Vaity