Imports System.ComponentModel.DataAnnotations Imports Raven.Client Imports System.Web.Script.Serialization Imports System.IO Imports System.Web.Security Public Class Member ' Public ReadOnly Property User As MembershipUser Get If String.IsNullOrEmpty(Me.UserName) = False Then Return Membership.GetUser(Me.UserName) Else Return Nothing End If End Get End Property Public Property Id As String Public Property UserKey As String Public Property UserName() As String Public Property Mail() As String Public Property APIKey As String Public ReadOnly Property HasAPIKey As Boolean Get Return Not String.IsNullOrEmpty(Me.APIKey) End Get End Property Public Property PushoverUserKey As String End Class