code: public Map<String, Map<String, List<String>>> resourcePermissions(String subjectid) {
  		return getEntity(invokeGet(Utils.formatMessage("_permissions/{0}", subjectid), null), Map.class);
  	}
docs: Returns only the permissions for a given subject (user) of the current app.
  @param subjectid the subject id (user id)
  @return a map of subject ids to resource names to a list of allowed methods