protected static String getUsername(ViewContext context) {
    String userName = context.getProperties().get("dataworker.username");
    if (userName == null || userName.compareTo("null") == 0 || userName.compareTo("") == 0)
      userName = context.getUsername();
    return userName;
  }
Execute action ignoring objects owner
@param actions callable to execute
@return value returned from actions
@throws Exception
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/resources/PersonalCRUDResourceManager.java