Role
Role
Static Method Summary
Static Public Methods | ||
public static |
Checks if a collection of roles contain a role. |
|
public static |
Removes a role to a collection of roles. |
|
public static |
Adds a role to a collection of roles without duplication. |
Constructor Summary
Public Constructor | ||
public |
constructor(name: String) Constructs a new Role object. |
Member Summary
Public Members | ||
public get |
name: String Role name |
Static Public Methods
public static contain(roles: Role[], aRole: Role): Boolean source
Checks if a collection of roles contain a role.
Return:
Boolean |
Public Constructors
public constructor(name: String) source
Constructs a new Role object.
Params:
Name | Type | Attribute | Description |
name | String | role name |