RequiresRoleAttribute.Roles Property
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Gets the roles that are permitted to invoke the operation.
Namespace: System.ServiceModel.DomainServices.Server
Assembly: System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)
Syntax
'Declaration
Public ReadOnly Property Roles As IEnumerable(Of String)
Get
'Usage
Dim instance As RequiresRoleAttribute
Dim value As IEnumerable(Of String)
value = instance.Roles
public IEnumerable<string> Roles { get; }
public:
property IEnumerable<String^>^ Roles {
IEnumerable<String^>^ get ();
}
member Roles : IEnumerable<string>
function get Roles () : IEnumerable<String>
Property Value
Type: System.Collections.Generic.IEnumerable<String>
The roles that are permitted to invoke the operation.