Class AssociateSentry
Inheritance
AssociateSentry
Assembly: SoDataBase.dll
Syntax
public class AssociateSentry : Sentry<AssociateTableInfo>, ICloneable
Constructors
AssociateSentry(AssociateTableInfo)
Declaration
public AssociateSentry(AssociateTableInfo associateTableInfo)
Parameters
AssociateSentry(AssociateTableInfo, ISoDataLookup)
Create a contact sentry for a particular contact row.
The row's associate_id will control the user's permissions with respect to this row.
Declaration
public AssociateSentry(AssociateTableInfo associateTableInfo, ISoDataLookup lookup)
Parameters
Properties
AssociateId
Declaration
public override int AssociateId { get; }
Property Value
Overrides
IsGhostRow
Declaration
public override bool IsGhostRow { get; }
Property Value
Overrides
IsNew
Is the row saved to teh database (persisted primary key == 0)
Declaration
public override bool IsNew { get; }
Property Value
Overrides
RegisteredAssociateIdField
Declaration
public override FieldInfo RegisteredAssociateIdField { get; }
Property Value
Overrides
RegisteredField
Declaration
public override FieldInfo RegisteredField { get; }
Property Value
Overrides
RowId
Declaration
public override int RowId { get; }
Property Value
Overrides
UserType
Declaration
public UserType UserType { get; }
Property Value
Type |
Description |
UserType |
|
Methods
CanPrincipalManage(UserType)
Can the logged in user manage user of type.
Declaration
public static bool CanPrincipalManage(UserType userType)
Parameters
Type |
Name |
Description |
UserType |
userType |
User type to check if the user can manage
|
Returns
Type |
Description |
Boolean |
True if the logged in user can manage the specified user type.
|
ComputeDerivedTableRights()
Declaration
protected override void ComputeDerivedTableRights()
Overrides
SuperOffice.CRM.Security.Sentry<SuperOffice.CRM.Data.AssociateTableInfo>.ComputeDerivedTableRights()
ComputeFieldRights()
Declaration
protected override void ComputeFieldRights()
Overrides
SuperOffice.CRM.Security.Sentry<SuperOffice.CRM.Data.AssociateTableInfo>.ComputeFieldRights()
ComputeLicenseExpiration()
Declaration
protected override void ComputeLicenseExpiration()
Overrides
SuperOffice.CRM.Security.Sentry<SuperOffice.CRM.Data.AssociateTableInfo>.ComputeLicenseExpiration()
ComputeTableRights()
Declaration
protected override void ComputeTableRights()
Overrides
SuperOffice.CRM.Security.Sentry<SuperOffice.CRM.Data.AssociateTableInfo>.ComputeTableRights()
GetRowSentry()
Declaration
public override Sentry GetRowSentry()
Returns
Overrides
Implements
Extension Methods
EnumUtil.MapEnums<From, To>(From)