Server.Roles Property

 

Applies To: SQL Server 2016 Preview

Gets the collection of Roles for a database, cube, or mining model.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

[XmlArrayAttribute]
public RoleCollection Roles { get; }
public:
[XmlArrayAttribute]
property RoleCollection^ Roles {
    RoleCollection^ get();
}
[<XmlArrayAttribute>]
member Roles : RoleCollection with get
<XmlArrayAttribute>
Public ReadOnly Property Roles As 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.

See Also

Server Class
Microsoft.AnalysisServices Namespace

Return to top