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 )

22608 put(a) pogledan, 3 odgovor(a) 8.3.2011. 5:34:12Kreirao(la) cosmogonor
cosmogonor

cosmogonor

8.3.2011. 5: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
Ovaj sadržaj još nije ocijenjen. 
1176 Reputacija 140 Ukupno objava
imarusic

imarusic

8.3.2011. 9: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
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
cosmogonor

cosmogonor

8.3.2011. 10:08:54
Hi

Thank you very much

Regards,
RRR
Ovaj sadržaj još nije ocijenjen. 
1176 Reputacija 140 Ukupno objava