How to get user id on author function

Hi all,

I use email/password auth. And use function to access our webapi to send email and confirm email address.

I want to know how to get user id on author function.

Thanks.

Hi @Wang_Tao, welcome to the community!

Your confirmation has access to username as one of the parameters – is that enough? If not, what do you need the user’s id for?

I want to use user id to create custom date in to db.