Gets or sets the name of the role.

Namespace:  Novalys.VisualGuard.Security.Membership
Assembly:  Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)

Syntax

C#
public string Name { get; set; }
Visual Basic (Declaration)
Public Property Name As String

Return Value

the name of the role.

Remarks

all shared role names are prefixed by "#".

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionthe value is null.
System..::.ArgumentExceptionthe value is empty or contains invalid chars ('\', '/', '?', '*', '%', ';', ''', '"', ':', '|', '[', ']', '+', '=', ',').

or

the value is longer than 64 characters.

or

the value start whith '#'.
System..::.InvalidOperationExceptionthe value is modified and the role is marked as a built-in role.

See Also