Gets or sets the name of the role.
Namespace:
Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
Return Value
the 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. |