@Deprecated
  public static List<UserPermission> getUserPermissions(RpcController controller,
    AccessControlService.BlockingInterface protocol, byte[] namespace) throws ServiceException {
    return getUserPermissions(controller, protocol, namespace, HConstants.EMPTY_STRING);
  }
A utility used to get permissions for selected namespace.
<p>
It's also called by the shell, in case you want to find references.
@param controller RpcController
@param protocol   the AccessControlService protocol proxy
@param namespace  name of the namespace
@deprecated Use {@link Admin#getUserPermissions(GetUserPermissionsRequest)} instead.
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/AccessControlUtil.java