assigning roles to new member signups

I dunno if this is the right forum to post this is, i could not find a regular forum for wix, and have already attempted to contact wix support.
i’ve also looked all through the wix support section, and did not see anything that could help me with this.

I’d like to have two different new membership signups, one for regular customers, and another for a wholesale customer.
each signup, should set the “roles” of that member. so that they are restricted from certain pages.
regular customers can see the regular store, and wholesale customers, would have access to a different store just for them.

it seems at the moment, by default, all new members have to have the same roles, unless i manually change them afterwards… id like to have this done automatically, at signup.

im wondering if there is a way to do this without Corvid?
or what i should generally look into, if this can only be done with Corvid

thanks for any advice

https://support.wix.com/en/article/changing-the-permissions-of-a-member-role
https://support.wix.com/en/article/creating-member-roles-6943237
https://support.wix.com/en/article/managing-your-member-roles
https://support.wix.com/en/article/limiting-pages-on-your-site-to-specific-members-member-roles

As of yet, you still can’t assign a member role on when a user registers as a member.

You can setup code so that you can display things for different member roles.
https://www.wix.com/corvid/forum/community-discussion/set-member-role-using-wix-code

https://www.wix.com/corvid/reference/wix-users.User.html#getRoles
https://www.wix.com/corvid/reference/wix-users.User.html#UserRole

There are three types of users:

  • Visitor - A user who is not logged into your site.

  • Member - A user who is logged into your site.

  • Admin - The owner of the site.
    To use the Users API, import wixUsers from the wix-users module: