auth::registration::Register (private)
auth::registration::Register -authority_id authority_id \ [ -username username ] [ -password password ] \ [ -first_names first_names ] [ -last_name last_name ] \ [ -screen_name screen_name ] [ -email email ] [ -url url ] \ [ -secret_question secret_question ] \ [ -secret_answer secret_answer ]
Defined in packages/acs-authentication/tcl/authentication-procs.tcl
Invoke the Register service contract operation for the given authority.
- Switches:
- -authority_id (required)
- Id of the authority.
- -username (optional)
- -password (optional)
- -first_names (optional)
- -last_name (optional)
- -screen_name (optional)
- -email (optional)
- -url (optional)
- -secret_question (optional)
- -secret_answer (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set impl_id [auth::authority::get_element -authority_id $authority_id -element "register_impl_id"] if { $impl_id eq "" } { # No implementation of authentication set authority_pretty_name [auth::authority::get_element -authority_id $authority_id -element "pretty_name"] error "The authority '$authority_pretty_name' doesn't support account registration" } set parameters [auth::driver::get_parameter_values -authority_id $authority_id -impl_id $impl_id] return [acs_sc::invoke -error -impl_id $impl_id -operation Register -call_args [list $parameters $username $authority_id $first_names $last_name $screen_name $email $url $password $secret_question $secret_answer]]Generic XQL file: packages/acs-authentication/tcl/authentication-procs.xql
PostgreSQL XQL file: packages/acs-authentication/tcl/authentication-procs-postgresql.xql
Oracle XQL file: packages/acs-authentication/tcl/authentication-procs-oracle.xql