Gets the user's role.
Gets one of the following roles:
"Admin"
— The owner of the site."Member"
— A user who is logged in."Visitor"
— A user who is not logged in.Note: The APIs in WixRouterUser
are only partially functional when previewing your site.
View a published version of your site to see their complete functionality.