var WebITUser=function() {
WebITUser.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebITUser.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebITUser._staticInstance.get_path();},
Login:function(accounts,password,succeededCallback, failedCallback, userContext) {
/// <param name="accounts" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'Login',false,{accounts:accounts,password:password},succeededCallback,failedCallback,userContext); },
CheckAccounts:function(accounts,succeededCallback, failedCallback, userContext) {
/// <param name="accounts" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'CheckAccounts',false,{accounts:accounts},succeededCallback,failedCallback,userContext); },
RegistAccounts:function(accounts,password,name,company,address,postalcode,phoneNumber,email,succeededCallback, failedCallback, userContext) {
/// <param name="accounts" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="company" type="String">System.String</param>
/// <param name="address" type="String">System.String</param>
/// <param name="postalcode" type="String">System.String</param>
/// <param name="phoneNumber" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'RegistAccounts',false,{accounts:accounts,password:password,name:name,company:company,address:address,postalcode:postalcode,phoneNumber:phoneNumber,email:email},succeededCallback,failedCallback,userContext); },
UpdatePassword:function(passwordOld,password,succeededCallback, failedCallback, userContext) {
/// <param name="passwordOld" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UpdatePassword',false,{passwordOld:passwordOld,password:password},succeededCallback,failedCallback,userContext); },
UpdatePassword2:function(userId,password,succeededCallback, failedCallback, userContext) {
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'UpdatePassword2',false,{userId:userId,password:password},succeededCallback,failedCallback,userContext); }}
WebITUser.registerClass('WebITUser',Sys.Net.WebServiceProxy);
WebITUser._staticInstance = new WebITUser();
WebITUser.set_path = function(value) {
WebITUser._staticInstance.set_path(value); }
WebITUser.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WebITUser._staticInstance.get_path();}
WebITUser.set_timeout = function(value) {
WebITUser._staticInstance.set_timeout(value); }
WebITUser.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WebITUser._staticInstance.get_timeout(); }
WebITUser.set_defaultUserContext = function(value) { 
WebITUser._staticInstance.set_defaultUserContext(value); }
WebITUser.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WebITUser._staticInstance.get_defaultUserContext(); }
WebITUser.set_defaultSucceededCallback = function(value) { 
 WebITUser._staticInstance.set_defaultSucceededCallback(value); }
WebITUser.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WebITUser._staticInstance.get_defaultSucceededCallback(); }
WebITUser.set_defaultFailedCallback = function(value) { 
WebITUser._staticInstance.set_defaultFailedCallback(value); }
WebITUser.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WebITUser._staticInstance.get_defaultFailedCallback(); }
WebITUser.set_path("/WebService/WebITUser.asmx");
WebITUser.Login= function(accounts,password,onSuccess,onFailed,userContext) {
/// <param name="accounts" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebITUser._staticInstance.Login(accounts,password,onSuccess,onFailed,userContext); }
WebITUser.CheckAccounts= function(accounts,onSuccess,onFailed,userContext) {
/// <param name="accounts" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebITUser._staticInstance.CheckAccounts(accounts,onSuccess,onFailed,userContext); }
WebITUser.RegistAccounts= function(accounts,password,name,company,address,postalcode,phoneNumber,email,onSuccess,onFailed,userContext) {
/// <param name="accounts" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="name" type="String">System.String</param>
/// <param name="company" type="String">System.String</param>
/// <param name="address" type="String">System.String</param>
/// <param name="postalcode" type="String">System.String</param>
/// <param name="phoneNumber" type="String">System.String</param>
/// <param name="email" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebITUser._staticInstance.RegistAccounts(accounts,password,name,company,address,postalcode,phoneNumber,email,onSuccess,onFailed,userContext); }
WebITUser.UpdatePassword= function(passwordOld,password,onSuccess,onFailed,userContext) {
/// <param name="passwordOld" type="String">System.String</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebITUser._staticInstance.UpdatePassword(passwordOld,password,onSuccess,onFailed,userContext); }
WebITUser.UpdatePassword2= function(userId,password,onSuccess,onFailed,userContext) {
/// <param name="userId" type="Number">System.Int32</param>
/// <param name="password" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
WebITUser._staticInstance.UpdatePassword2(userId,password,onSuccess,onFailed,userContext); }

