Server.Roles Property
Gets the collection of Roles for a database, cube, or mining model.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Property Roles As RoleCollection
Get
'Usage
Dim instance As Server
Dim value As RoleCollection
value = instance.Roles
public RoleCollection Roles { get; }
public:
property RoleCollection^ Roles {
RoleCollection^ get ();
}
member Roles : RoleCollection
function get Roles () : RoleCollection
Property Value
Type: Microsoft.AnalysisServices.RoleCollection
A collection of roles.
Remarks
Roles indicate specific security permissions that are associated with a given database, cube, or mining model.