/** * Returns the admin user associated with the specified organization * * @param orgName The name of the organization * @return The admin user details * @throws NetworkConfigurationException */ public UserInfo getPeerAdmin(String orgName) throws NetworkConfigurationException { OrgInfo org = getOrganizationInfo(orgName); if (org == null) { throw new NetworkConfigurationException(format("Organization %s is not defined", orgName)); } return org.getPeerAdmin(); }
/** * Returns the admin user associated with the specified organization * * @param orgName The name of the organization * @return The admin user details * @throws NetworkConfigurationException */ public UserInfo getPeerAdmin(String orgName) throws NetworkConfigurationException { OrgInfo org = getOrganizationInfo(orgName); if (org == null) { throw new NetworkConfigurationException(format("Organization %s is not defined", orgName)); } return org.getPeerAdmin(); }
/** * Returns the admin user associated with the specified organization * * @param orgName The name of the organization * @return The admin user details * @throws NetworkConfigurationException */ public UserInfo getPeerAdmin(String orgName) throws NetworkConfigurationException { OrgInfo org = getOrganizationInfo(orgName); if (org == null) { throw new NetworkConfigurationException(format("Organization %s is not defined", orgName)); } return org.getPeerAdmin(); }