faizinfy

IUserSession.vb

Dec 13th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.91 KB | None | 0 0
  1. Public Interface IUserSession
  2.  
  3.     ReadOnly Property currentuserid As Integer
  4.     ReadOnly Property currentusername As String
  5.     ReadOnly Property currentstaffid As Integer
  6.  
  7.     ''' <summary>
  8.     ''' The current company the current user belongs to
  9.     ''' </summary>
  10.     ''' <value></value>
  11.     ''' <returns></returns>
  12.     ''' <remarks></remarks>
  13.  
  14.     ReadOnly Property currentcompanyid As Integer
  15.     ReadOnly Property currentcompanyname As String
  16.  
  17.     ReadOnly Property currentcompanylogourl As String
  18.  
  19.     ReadOnly Property currentpermission As IEnumerable(Of String)
  20.  
  21.     ReadOnly Property isloggedin As Boolean
  22.  
  23.     ReadOnly Property currentpermissions As IEnumerable(Of String)
  24.  
  25.     ReadOnly Property isSupervisor As Boolean
  26.  
  27.     'ReadOnly Property notifications As NotificationViewModel
  28.  
  29.     'Function SetSession(currentstaffid As Integer, currentcompanyid As Integer) As Result
  30. End Interface
Advertisement
Add Comment
Please, Sign In to add comment