Gets or sets the list of VGGrantedRole corresponding to roles granted to the user.
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 3.2.912.1 (3.2.912.01)
Syntax
| C# |
|---|
public VGGrantedRole[] Roles { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property Roles As VGGrantedRole() |
Remarks
if the value is an empty array, Status is automatically set to UserNotAuthorized
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | the value cannot be a null reference. |
| System..::.ArgumentException | each role must already exist in the initial list. |