MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

How to set default role as registered   (Mono Support )

Viewed 22430 time(s), 3 post(s) 08.03.2011 05:34:12by cosmogonor
cosmogonor

cosmogonor

08.03.2011 05:34:29
Hi

How to set default role as Registered along with the
users(role) as shown in the image, once user clicks on the activation email
link.


Thanks & Regards,
RRR
Dieser Inhalt wurde noch nicht bewertet. 
1176 Reputation 140 Total posts
imarusic

imarusic

08.03.2011 09:17:17
Hi Cosmogonor,

In web.config file under the appSettings you can find "DefaultUserRoles". "Users" role is set by default. You can add your custom roles that have to be separated by comma.

e.g.

<add key="DefaultUserRoles" value="Users,Registered" />


Regards,
Ivan Marusic
Dieser Inhalt wurde noch nicht bewertet. 
3016 Reputation 428 Total posts
cosmogonor

cosmogonor

08.03.2011 10:08:54
Hi

Thank you very much

Regards,
RRR
Dieser Inhalt wurde noch nicht bewertet. 
1176 Reputation 140 Total posts