Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::acs_user
Methods (to be applied on the object)
approve_email (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_user__approve_email(CAST(:user_id AS integer))}]
return [ns_set value $s 0]
}
delete (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_user__delete(CAST(:user_id AS integer))}]
return [ns_set value $s 0]
}
new (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_user__new(CAST(:user_id AS integer),:object_type,:creation_date,CAST(:creation_user AS integer),:creation_ip,CAST(:authority_id AS integer),:username,:email,:url,:first_names,:last_name,:password,:salt,:screen_name,:email_verified_p,CAST(:context_id AS integer))}]
return [ns_set value $s 0]
}
unapprove_email (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_user__unapprove_email(CAST(:user_id AS integer))}]
return [ns_set value $s 0]
}