Try our conversational search powered by Generative AI!

How To Create A Visitor Group Via Code



I was wondering what API I need to use to be able to create a visitor group in code.  When the site loads if a visitor group that doesn't have every user in the system exist I want to create it in code.

I don't want to create a custom criteria. 



Oct 15, 2015 11:14

I think the IVisitorGroupRepository implementation is what you need:

Oct 15, 2015 11:43

Cheers mate, I was looking in VisitorGroupHelper :P

Oct 15, 2015 12:03
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.