Export (0) Print
Expand All

UserBase.Roles Property

WCF RIA Services

[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 or sets the roles the user is a member of.

Namespace:  System.ServiceModel.DomainServices.Server.ApplicationServices
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

[EditableAttribute(false)]
[ProfileUsageAttribute(IsExcluded = true)]
public IEnumerable<string> Roles { get; set; }

Property Value

Type: System.Collections.Generic.IEnumerable<String>
The roles the user is a member of. The default is null.

Implements

IUser.Roles
Show:
© 2014 Microsoft