question: public Long addNewUser ( String SID , String username , String userpass , String lastname , String firstname , String email , String additionalname , String street , String zip , String fax , long states_id , String town , long language_id , String baseURL ) throws AxisFault { try { Long users_id = sessionManagement . checkSession ( SID ) ; Long user_level = userManagement . getUserLevelByID ( users_id ) ; if ( authLevelManagement . checkWebServiceLevel ( user_level ) ) { Configuration conf = cfgManagement . getConfKey ( 3L , "default.timezone" ) ; String jName_timeZone = "" ; if ( conf != null ) { jName_timeZone = conf . getConf_value ( ) ; } Long user_id = userManagement . registerUser ( username , userpass , lastname , firstname , email , new Date ( ) , street , additionalname , fax , zip , states_id , town , language_id , "" , baseURL , true , jName_timeZone ) ; if ( user_id == null || user_id < 0 ) { return user_id ; } Users user = userManagement . getUserById ( user_id ) ; user . setStatus ( 1 ) ; user . setUpdatetime ( new Date ( ) ) ; userManagement . updateUser ( user ) ; return user_id ; } else { return new Long ( - 26 ) ; } } catch ( Exception err ) { log . error ( "setUserObject" , err ) ; throw new AxisFault ( err . getMessage ( ) ) ; } }
target:  Adds a new Usre like through the Frontend, but also does activates the Account To do SSO see the methods to create a hash and use those ones!