November Happy Hour will be moved to Thursday December 5th.

Using visitor groups for Logged-in users

Vote:
 

Out of the box, is there a way to use visitor groups to check logged-in and not logged-in users?

On a page, I want to display "text1" for logged-in users and "text2" for not logged-in users.

Is it possible?

#54862
Nov 07, 2011 23:21
Vote:
 

Just use PrincipalInfo.CurrentPrincipal.Identity.IsAuthenticated.  This returns a boolean

#54871
Nov 08, 2011 2:42
Vote:
 

Use the Role criterion from http://criteriapack.codeplex.com/

#54873
Nov 08, 2011 7:35
Vote:
 

"Use the Role criterion from http://criteriapack.codeplex.com/"

Awesome!

#54957
Nov 10, 2011 23:49
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.