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

Android Enthusiasts | alijandro | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unable to use google play service in Samsung SM-A7009

    Android Enthusiasts | 8 months ago | alijandro
    java.lang.SecurityException: You need MANAGE_USERS permission to: query user

  1. franky li 8 times, last 6 months ago

Root Cause Analysis

  1. java.lang.SecurityException

    You need MANAGE_USERS permission to: query user

    at android.os.Parcel.readException()
  2. Android Platform
    UserManager.isManagedProfile
    1. android.os.Parcel.readException(Parcel.java:1540)
    2. android.os.Parcel.readException(Parcel.java:1493)
    3. android.os.IUserManager$Stub$Proxy.getUserInfo(IUserManager.java:629)
    4. android.os.UserManager.getUserInfo(UserManager.java:528)
    5. android.os.UserManager.isManagedProfile(UserManager.java:482)
    5 frames