Class RoleRightsSentry<TMainTable>
Summary description for Sentry.
Implements
Inherited Members
Namespace: SuperOffice.CRM.Security
Assembly: SoDataBase.dll
Syntax
public abstract class RoleRightsSentry<TMainTable> : Sentry<TMainTable>, ICloneable where TMainTable : TableInfo
Type Parameters
Name | Description |
---|---|
TMainTable |
Constructors
RoleRightsSentry(SentryQueryInfo<TMainTable>)
Hidden constructor. This is an abstract class after all.
Declaration
protected RoleRightsSentry(SentryQueryInfo<TMainTable> coveredTables)
Parameters
Type | Name | Description |
---|---|---|
SentryQueryInfo<TMainTable> | coveredTables |
Properties
RoleTableRights
Get the table rights from the role infrastructure.
Declaration
protected virtual ETableRight RoleTableRights { get; }
Property Value
Type | Description |
---|---|
ETableRight |
VisibleForRights
Get rights according to VisibleFor
Declaration
protected virtual ETableRight VisibleForRights { get; }
Property Value
Type | Description |
---|---|
ETableRight |
Methods
GetMainRight()
Get the main table right for this entity.
Declaration
public override ETableRight GetMainRight()
Returns
Type | Description |
---|---|
ETableRight | Main table right for this entity |
Overrides
SuperOffice.CRM.Security.Sentry<TMainTable>.GetMainRight()
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)