Gets or sets the name of the role.

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

Syntax

C#
public string Name { get; set; }
Visual Basic
Public Property Name As String
	Get
	Set

Return Value

Type: String
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