Name

Gets or sets the name of the right.

Syntax

string Name {get; set;}

Property value

The name of the right. The name can contain only letters (upper- or lowercase), numerals 0 through 9, and the hyphen (-) and underscore (_) characters.

Exceptions

Name throws an ArgumentException if the name is null, empty, or contains invalid characters.