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

Interface IVisitorGroupRoleRepository

Defines methods to access VisitorGroupRole

Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public interface IVisitorGroupRoleRepository

Methods

TryGetRole(String, out VisitorGroupRole)

Get a role based on name

Declaration
bool TryGetRole(string name, out VisitorGroupRole virtualRoleProvider)
Parameters
Type Name Description
System.String name

Name of the role

VisitorGroupRole virtualRoleProvider

The virtual role provider registered for this name

Returns
Type Description
System.Boolean

True if the role was found

Extension Methods