1 Reply Latest reply on Dec 29, 2008 11:46 AM by JR "Bob" Dobbs-qSBHQ2

    Admin API Error

      I am attempting to use the Admin API to add a user to coldfusion. However when I call the setUser method and pass in a username and password I get the error "The USERNAME parameter to the setUser function is required but was not passed in." The call to the setUser method is below. can anyone see why this might be failing? I have even tried hard-coding the values and it still gives the error.

      <cfinvoke component="cfide.adminapi.security" method="setUser" UserName="#ARGUMENTS.newuser#" password="#ARGUMENTS.newuserpassword#">