Gets or sets the list of VGGrantedRole corresponding to roles granted to the user.
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public VGGrantedRole[] Roles { get; set; } |
Visual Basic |
---|
Public Property Roles As VGGrantedRole() Get Set |
Property Value
Type: array<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. |