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

Android Enthusiasts | alijandro | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to use google play service in Samsung SM-A7009

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

  1. franky li 8 times, last 4 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