Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jamiejackson
Created March 13, 2013 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiejackson/5157588 to your computer and use it in GitHub Desktop.
Save jamiejackson/5157588 to your computer and use it in GitHub Desktop.
<cfset ws = createObject("webservice", application.lms.wsurl)>
<cfscript>
user = ws.GenerateUserObject();
// the users status is part of the superclass. Its also a enum so we have to make a status object
UserStatus = CreateObject("java","com.geolearning.geonext.webservices.Status");
user.setStatus(UserStatus.Active);
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment