• Posts: 3
  • Joined: 20/10/2008

I have integrated into my web application.
I am using YAF-v1.9.3-BETA version.
I also use 2.0 membership and role providers for user management.
I have also set the to use the same membership provider.

Whenever a new user is created, he is automatically assigned a 'user' role through my code.
In the forums --> administration --> roles,this role 'user' is linked to YAF.
When i edit this role, i have checked the option 'Is Start'.
So when a new user is registered in the web application, will Yetanother forum automatically put this role in the yaf_UserGroup table when he is browsing the foorum for the first time?

If not what is the actual procedure of new user registration outside the context of the YAF.
Should we manually assign this role from Administration » Users » Edit User "New User" » User Roles ?
or should we programatically add the role to YAF_Usergroup table also?

Please help me as i am totally stuck in this situation.
Any help will be greatly appreciated.

Sravan Kasyap K 🙂
  • Posts: 2544
  • Joined: 09/10/2004
YAF will only add the user to the IsStart role if they are registered INSIDE the YAF program. YAF doesn't have any control to how you do registration outside it. If you register a user outside the app, it's your responsibility to add the user to the roles needed.

No need to worry about yaf_UserGroup. YAF will handle those details of syncing.
Users browsing this topic
    Forum Jump  
    • You cannot post new topics in this forum.
    • You cannot reply to topics in this forum.
    • You cannot delete your posts in this forum.
    • You cannot edit your posts in this forum.
    • You cannot create polls in this forum.
    • You cannot vote in polls in this forum.

    About Us

    The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

    Powered by Resharper Donate with PayPal button

    Project Twitter Updates

    Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved