RequiresRoleAttribute Constructor

Include Protected Members
Include Inherited Members

[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.]

Initializes a new instance of the RequiresRoleAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method RequiresRoleAttribute(String) Initializes a new instance of the RequiresRoleAttribute class that has the specified role.
Public method RequiresRoleAttribute(String()) Initializes a new instance of the RequiresRoleAttribute class that has the specified set of roles.

Top

See Also

Reference

RequiresRoleAttribute Class

System.ServiceModel.DomainServices.Server Namespace