Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [CSPX] >  [LoginForm]
Private  Storage   

class CSPX.LoginForm extends %RegisteredObject, %CSP.Util.AutoForm

IRIS specific login form.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2 3


Password User

%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
CreateInstance DispatchSubmit DoSubmit DrawFormButtons
DrawHTMLForm DrawHTMLTable GetComboBoxHTML GetFormError
OnDefineButtons OnSubmit ProcessSubmit SetFormError


• parameter DOMAIN = "Ensemble";
Use our own domain for localization


• property Password as %CSP.Util.Passwd(CAPTION="@Ensemble:Password@Password",MAXLEN=40);
• property User as %String(CAPTION="@Ensemble:Username@Username",MAXLEN=40);
User name


• classmethod CreateInstance(ByRef pID As %String) as AutoForm
Create an instance of the AutoForm object using the provided ID value(s). This is overridden by subclasses.
The default implementation will perform an OpenId if the AutoForm is a persistent object.
• classmethod OnDefineButtons(ByRef pButtons As FormButton)
define standard Login buttons
• method OnSubmit(ByRef pID As %String, pSubmit As %String) as %Status
This callback is called when this form is submitted. pID is the ID value associated with the form. The default implementation will perform a Save if the AutoForm is a persistent object.
pSubmit is the name of the submit button (i.e., $AUTOFORM_SAVE).

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.