Class ErpConnectionAccessCache
Inherited Members
Namespace: SuperOffice.CRM.Security
Assembly: SoDataBase.dll
Syntax
public class ErpConnectionAccessCache : CacheBase, IDisposable, IFlushable
Methods
GetCachedTableNumbers()
Declaration
public override int[] GetCachedTableNumbers()
Returns
Type | Description |
---|---|
Int32[] |
Overrides
GetCurrent()
Obtain an instance of the cache
Declaration
public static ErpConnectionAccessCache GetCurrent()
Returns
Type | Description |
---|---|
ErpConnectionAccessCache |
HasAccess(Int32)
Check if the logged on user has erp connection acccess.
Declaration
public bool HasAccess(int erpConnectionId)
Parameters
Type | Name | Description |
---|---|---|
Int32 | erpConnectionId | Id of the erp connection |
Returns
Type | Description |
---|---|
Boolean | True if the logged on user has access to the specified erp connection. |
OnFlush()
Declaration
protected override void OnFlush()
Overrides
OnRefresh()
Declaration
protected override void OnRefresh()
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)