Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<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