auth::local::registration::GetElements (private)

 auth::local::registration::GetElements [ parameters ]

Defined in packages/acs-authentication/tcl/local-procs.tcl

Implements the GetElements operation of the auth_registration service contract for the local account implementation.

Parameters:
parameters (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 test_auth_registration_implementations auth_registration_implementations (test acs-authentication) auth::local::registration::GetElements auth::local::registration::GetElements test_auth_registration_implementations->auth::local::registration::GetElements ad_acs_kernel_id ad_acs_kernel_id (public) auth::local::registration::GetElements->ad_acs_kernel_id ad_conn ad_conn (public) auth::local::registration::GetElements->ad_conn auth::UseEmailForLoginP auth::UseEmailForLoginP (public) auth::local::registration::GetElements->auth::UseEmailForLoginP parameter::get parameter::get (public) auth::local::registration::GetElements->parameter::get AcsSc.auth_registration.getelements.acs_testing AcsSc.auth_registration.getelements.acs_testing (private) AcsSc.auth_registration.getelements.acs_testing->auth::local::registration::GetElements AcsSc.auth_registration.getelements.local AcsSc.auth_registration.getelements.local (private) AcsSc.auth_registration.getelements.local->auth::local::registration::GetElements auth::local::registration::register_impl auth::local::registration::register_impl (private) auth::local::registration::register_impl->auth::local::registration::GetElements

Testcases:
auth_registration_implementations
Source code:
    set result(required) {}
    if { ![auth::UseEmailForLoginP] } {
        set result(required) username
    }

    lappend result(required) email first_names last_name
    set result(optional) { url }

    if { ![parameter::get -package_id [ad_conn subsite_id] -parameter RegistrationProvidesRandomPasswordP -default 0] } {
        lappend result(optional) password
    }

    if { [parameter::get -package_id [ad_acs_kernel_id] -parameter RequireQuestionForPasswordResetP -default 0] &&
         [parameter::get -package_id [ad_acs_kernel_id] -parameter UseCustomQuestionForPasswordReset -default 0] } {
        lappend result(required) secret_question secret_answer
    }

    return [array get result]
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-authentication/tcl/local-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: