Moonware.Server.WCF
GetRoles Method



Gets a list of roles.
Syntax
'Declaration
 
<OperationBehaviorAttribute()>
<PrincipalPermissionAttribute(Name="", 
   Role="Administrator", 
   Authenticated=True, 
   Action=SecurityAction.Demand, 
   Unrestricted=False)>
Public Function GetRoles() As List(Of UserRole)
'Usage
 
Dim instance As MoonwareServerWCF
Dim value As List(Of UserRole)
 
value = instance.GetRoles()
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Administrator", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public List<UserRole> GetRoles()
[OperationBehaviorAttribute()]
[PrincipalPermissionAttribute(Name="", 
   Role="Administrator", 
   Authenticated=true, 
   Action=SecurityAction.Demand, 
   Unrestricted=false)]
public:
List<UserRole^>^ GetRoles(); 
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MoonwareServerWCF Class
MoonwareServerWCF Members

Send Feedback