Gets or sets the name of the role.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public string Name { get; set; } |
Visual Basic |
---|
Public Property Name As String Get Set |
Return Value
Type: Stringthe name of the role.
Remarks
all shared role names are prefixed by "#".
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | the value is null. |
System..::..ArgumentException | the value is empty or contains invalid chars ('\', '/', '?', '*', '%', ';', ''', '"', ':', '|', '[', ']', '+', '=', ',').
or the value is longer than 64 characters.or the value start whith '#'. |
System..::..InvalidOperationException | the value is modified and the role is marked as a built-in role. |