DNN Dynamic Roles

Use DNN’s role system for segmentation and advanced personalization: Beyond statically assigning users to roles, the DNN Dynamic Roles module allows for defining criteria which adjust role memberships dynamically.

For instance, you can define rules which assign a user to a role when a certain cookie is present, a parameter is matched, the access comes from a certain region, or a user has visited a specific website before (referrer). Vice versa, users are automatically removed from the roles they have been assigned to as soon as criteria don’t match anymore.




The DNN Dynamic Roles module comes with lots of rules you can use and combine, making it easy to segment your customers and personalize content. All these rules can be used to define dynamic roles. These roles can be used just as the regular ones: For example, you can define which pages and modules can be viewed by which role.


Download Free trial Changelog Documentation FAQ License Agreement Buy now


Find out more about DNN Dynamic Roles in our blog



  • Integrates smoothly into DNN’s user interface
  • Extends DNN’s standard role system – you can use dynamic roles wherever you can use DNN’s static roles
  • Definable rule evaluation trigger per dynamic role (on request, on login)
  • Definable role update methods (add role members only, delete only, sync role memberships)
  • Ability to track anonymous visitors (roles are applied as soon as user logs in)
  • Performance optimised by leveraging caching algorithms
  • Compatible with Microsoft’s Azure Cloud Platform
  • Compatible with Evoq Content
  • EVS verified


Supported rules

  • Logical Operators
    Combine rules by using the AND, OR, and NOT operators.
  •  Role Membership
    Check if user is member of a certain role.
  •  Cookie
    Check if a certain cookie is present or has a specific value.
  •  Referer
    Check if a user is coming to your portal from a specific page or website.
  •  IP Geo Location
    Check if your user comes from a certain country or region of the world.
  •  Browser and Version
    Check if your user uses a specific browser and detect the browser’s version.
  •  GET and POST parameters
    Check for the existence of a request parameter and its value.
  •  Date and Time
    Check if the current date and/or time is within a specific range.
  •  SQL Query
    Evaluates an SQL Query and checks the result.

You can find detailed information on the XML Rule Definition Syntax page.


Do you want to give DNN Dynamic Roles a try?
You can test the module for free on portals which are accessible via localhost or *.local. If you want to test the module on non-local/production domains, please get a free trial license.

Do you want to obtain a license key?
The DNN Dynamic Roles module is licensed per domain at which your website is available. If you have secondary domains redirecting to one primary domain, only the primary needs to be licensed. Please check your portals’ configuration in order to determine the number of licenses you need. Feel free to contact us if you need help with choosing the correct license model. Subdomains for your domains are included in all licenses for free. You can test-drive the module free of charge on localhost and *.local domains.

Do you have a license and want to upgrade to a new version?
You can easily download and install a new version. Please ensure that your license is still valid and did not expire yet. In such case, the module will behave just as an unlicensed test version. You can upgrade to the latest possible version before your license expired without issues.


About the DNN CMS Platform

DNN® (formerly DotNetNuke®) is the leading open source web content management platform (CMS) in the Microsoft ecosystem. The product is used to build professional looking and easy-to-use commercial websites, social intranets, community portals, or partner extranets.

Source: dotnetnuke.codeplex.com