All pastes #396265 Raw Edit

Someone

public text v1 · immutable
·published 2007-03-15 17:12 UTC
rendered paste body
	PartyManager partyManager = Connector.getPartyManager();
        // We call PartyManager to create a new organization - a company called "Mega Corp" -
	// and get back a unique identifier that we can use to identify the new company.
	String acmeCorpUuid = 
	    partyManager.createOrganization(m_rootAuth,
	                                    "Acme Corp", // Name of the company
	                                    "We deliver anything, anytime, anywhere.", // a description
	                                    null, // We're a top-level organization, so no parent
	                                    "Company", // The 'group type' of the organization
	                                    null); // no email address for the top organization