Share via


Policy.Roles Property

Gets or sets the roles associated with the group or user.

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Syntax

'Declaration
Public Property Roles As Role()
    Get
    Set
'Usage
Dim instance As Policy
Dim value As Role()

value = instance.Roles

instance.Roles = value
public Role[] Roles { get; set; }
public:
property array<Role^>^ Roles {
    array<Role^>^ get ();
    void set (array<Role^>^ value);
}
member Roles : Role[] with get, set
function get Roles () : Role[]
function set Roles (value : Role[])

Property Value

Type: array<ReportService2006.Role[]
An array of Role objects.