Gets or sets the list of VGGrantedRole corresponding to roles granted to the user.

Namespace:  Novalys.VisualGuard.Security
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

ExceptionCondition
System..::.ArgumentNullExceptionthe value cannot be a null reference.
System..::.ArgumentExceptioneach role must already exist in the initial list.

See Also