Name
Gets or sets the name of the role.
Syntax
string Name {get; set;}
Property value
The name of the role. 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
or empty or contains
invalid characters.