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