IdeaBlade DevForce 2010 Help Reference
Roles Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.DomainServices Namespace > RequiresRolesAttribute Class : Roles Property



One or more roles in which the user must belong.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Roles As IEnumerable(Of String)
Visual Basic (Usage)Copy Code
Dim instance As RequiresRolesAttribute
Dim value As IEnumerable(Of String)
 
value = instance.Roles
C# 
public IEnumerable<string> Roles {get;}
C++/CLI 
public:
property IEnumerable<String^>^ Roles {
   IEnumerable<String^>^ get();
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.