Function

IsUserTemplateEditor

Module

rTemplates

Last Modified

7/15/2014 3:26:44 PM

Scope

Interfaced

Declaration

function IsUserTemplateEditor(TemplateID: string; UserID :Int64): boolean;

Called-By Hierarchy


                        IsUserTemplateEditor
                               CanEditType┘ 
                         CanEditLinkType┘   
          TfrmTemplateEditor.InitTrees┘     
       TfrmTemplateEditor.FormCreate┤       
      TfrmTemplateEditor.RefreshData┘       
TfrmTemplateEditor.mnuRefreshClick┘         

Called-By

Name Declaration Comments
CanEditType function CanEditType(Template: TTemplate): boolean; -


Source

65    function IsUserTemplateEditor(TemplateID: string; UserID :Int64): boolean;
66    begin
67      if StrToIntDef(TemplateID,0) > 0 then
68        Result := (Piece(sCallV('TIU TEMPLATE ISEDITOR', [TemplateID, UserID]),U,1) = '1')
69      else
70        Result := FALSE;
71    end;