addRole

Adds a new role.

  1. Role addRole(string name)
  2. Role addRole(string name, Role parent)
    static if(isWeb)
    addRole
    (
    string name
    ,)

Parameters

name string

The name of the role.

parent Role

The parent role.

Return Value

Type: Role

The role.

Meta