35 lines
1.3 KiB
C#
35 lines
1.3 KiB
C#
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
|
using Sarand.Net.Standard.Base.Bus;
|
|
using Sarand.Net.Standard.Base.Dbas;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Sarand.BusinessMgr.Net.Standard.Base.Core
|
|
{
|
|
//=======================================================================
|
|
/// <summary>
|
|
/// Basic User and Organisation properties associated with a session.
|
|
/// </summary>
|
|
public interface ISbmUserOrganisationContext : ISbmUserContext, ISbmOrganisationContext
|
|
{
|
|
//-------------------------------------------------------------------
|
|
/// <summary>Session Context - Identifies database connections etc.</summary>
|
|
SbmSessionContext SessionContext { get; }
|
|
|
|
//-------------------------------------------------------------------
|
|
// User properties.
|
|
/// <summary>User Security Item Id.</summary>
|
|
SysId UserSecurityItemId { get; }
|
|
/// <summary>User Affiliate Id.</summary>
|
|
SysId UserAffiliateId { get; }
|
|
|
|
//-------------------------------------------------------------------
|
|
/// <summary>Security profile - what the user is allowed to do based on security roles and groups.</summary>
|
|
ISbmSecurityProfile_Core SecurityProfile_Core { get; }
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|