How to: Enable Profiles in Open Ria Services
To configure the server project
<system.web> <authentication mode="Forms"></authentication> <profile enabled="true"> <properties> <add name="FriendlyName"/> </properties> </profile> </system.web>Partial Public Class User Inherits UserBase Private _FriendlyName As String <DataMember()> _ Public Property FriendlyName() As String Get Return _FriendlyName End Get Set(ByVal value As String) _FriendlyName = value End Set End Property End Classpublic partial class User : UserBase { [DataMember] public string FriendlyName { get; set; } }
To access profile properties from the client project
See Also
Tasks
PreviousHow to: Enable Roles in Open Ria ServicesNextHow to: Create a Custom Authorization Attribute
Last updated