private String getUserName(Request request) {
    return request.getResource().getKeyValueMap().get(Resource.Type.Member);
  }
Returns username from the request
@param request
@return
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/MemberEventCreator.java