Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Virtual Role


Newbie question coming up

I have created a Virtual Role "Employee" which returns true if the request comes from a specific ip address, and added it in web.config.

How can I use this to manage access right for a specific page (and its subpages) in Episerver? I can click on this page in Edit mode and set access rights, but in there I can only choose between created groups.

Nov 29, 2010 14:44

Even though it's a virtual role, it must be created as a group in Admin mode, in order for anyone to use it for authentication.

After that, you add access rights as normal (like you described).

Nov 29, 2010 15:51

so just create a group with the same name and then it's ready for use?

Nov 29, 2010 16:14


You can see it this way: its not the Role itself that is "virtual", its the memberships within it.


Nov 29, 2010 16:56
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.