addRole

Adds a new role.

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

Parameters

name string

The name of the role.

Return Value

Type: Role

The role.

Meta