user


userWixRouterUserRead-only

Returns the details of the current site user who is logged in.

Returns an object with the id and role of the logged in user who made the router request.

Get the user from the router request
JavaScript
Did this help?