user_backend_sql_raw icon indicating copy to clipboard operation
user_backend_sql_raw copied to clipboard

add email query support

Open pille opened this issue 6 years ago • 4 comments

please add a query for getting the email address from DB, like get_display_name does for the full name. my usecase: prefill profile from DB

pille avatar Sep 28 '19 22:09 pille

What do you mean by "add a query"? Is this part of the Nextcloud user API? Please explain what exactly do you need.

alexeyabel avatar Dec 18 '19 22:12 alexeyabel

let the admin configure a sql query to retrieve a users email from DB. user settings contain an "Email"-field, which should be populated by that query-result.

pille avatar Dec 19 '19 15:12 pille

A clean implementation of this is, currently not possible, due to how user backends in Nextcloud work, see: https://github.com/PanCakeConnaisseur/user_backend_sql_raw/pull/26#discussion_r502909043

alexeyabel avatar Oct 11 '20 12:10 alexeyabel

@PanCakeConnaisseur Thanks for the update. I hope that the new user backend API (#7) will be implemented soon.

kosli avatar Oct 13 '20 21:10 kosli