Hi,
Yes there is http://world.episerver.com/Blogs/Paul-Smith/Dates1/2011/4/Checking-if-a-request-matches-a-Visitor-Group-from-code/. You need to know the name of the group though.
Wow, i look at this last night and i seen rolename and moved on cause that wasn't what i needed. Well, it turns out, it is exactly what i needed. I appreciate your help Johan.
This sounds like a really similar idea to the PersonalizationEngine we put together. This contains an API to return a list of ‘recommended content pages’ that are personalized to the current user - which is calculated using Visitor Groups. If you know what collections of PageData you want to return in each case, it should be really easy to extend and setup.
This is really good Mark. I read the post and think this is something that can be used quite often with us.
Is there a way to programmatically check visitor groups. I want to return a pagedatacollection based on if the user is in a group or not. If not, then return a different pdc. Thanks in advance.