Skip to main content

Ens.Config.Credentials

persistent class Ens.Config.Credentials extends %Library.Persistent, %XML.Adaptor

SQL Table Name: Ens_Config.Credentials

Contains the authorization information needed to use a remote system.

Property Inventory

Method Inventory

Parameters

parameter DOMAIN = Ensemble;
Use our own domain for localization

Properties

property BusinessPartner as %String (CAPTION = "@Ensemble:BusinessPartner@BusinessPartner", MAXLEN = 255, XMLPROJECTION = "ATTRIBUTE");
Name of Business Partner Profile associated with this item.
Property methods: BusinessPartnerDisplayToLogical(), BusinessPartnerGet(), BusinessPartnerGetStored(), BusinessPartnerIsValid(), BusinessPartnerLogicalToDisplay(), BusinessPartnerLogicalToOdbc(), BusinessPartnerNormalize(), BusinessPartnerSet()
property Password as %CSP.Util.Passwd (CAPTION = "@Ensemble:Password@Password") [ SqlFieldName = PasswordObject ];
Property methods: PasswordDisplayToLogical(), PasswordGet(), PasswordGetStored(), PasswordIsValid(), PasswordLogicalToDisplay(), PasswordLogicalToOdbc(), PasswordNormalize()
property PasswordSQL as %String) [ Calculated , SqlFieldName = Password ];
Property methods: PasswordSQLCompute(), PasswordSQLDisplayToLogical(), PasswordSQLGet(), PasswordSQLIsValid(), PasswordSQLLogicalToDisplay(), PasswordSQLLogicalToOdbc(), PasswordSQLNormalize(), PasswordSQLSQLCompute()
property SystemName as %String (CAPTION = "@Ensemble:SystemNameID@ID", XMLPROJECTION = "ATTRIBUTE") [ Required ];
Property methods: SystemNameDisplayToLogical(), SystemNameGet(), SystemNameGetStored(), SystemNameIsValid(), SystemNameLogicalToDisplay(), SystemNameLogicalToOdbc(), SystemNameNormalize(), SystemNameSet()
property Username as %String (CAPTION = "@Ensemble:Username@Username", MAXLEN = 3640873, XMLPROJECTION = "ATTRIBUTE");
Property methods: UsernameDisplayToLogical(), UsernameGet(), UsernameGetStored(), UsernameIsValid(), UsernameLogicalToDisplay(), UsernameLogicalToOdbc(), UsernameNormalize(), UsernameSet()

Methods

classmethod GetCredentialsObj(Output pCredObj As Ens.Config.Credentials, pCallerClassname As %String, pCredClassname As %String, pCredentialsID As %String) as %Status
classmethod GetValue(pCredentialsID As %String, pCredentialName As %String) as %String
method PasswordGet() as %CSP.Util.Passwd
method PasswordSet(Arg As %CSP.Util.Passwd) as %Status
classmethod SetCredential(pName As %String, pUsername As %String, pPassword As %String, pOverwrite As %Boolean = 0) as %Status
Classmethod to create a new credential

Queries

query List()
SQL Query:
Select ID, %Truncate(Username, 3640820) As Username,'xxx' as Password, BusinessPartner from Ens_Config.Credentials

Indexes

index (SystemName on SystemName) [IdKey, PrimaryKey, Type = key];
Index methods: SystemNameCheck(), SystemNameDelete(), SystemNameDisplayToLogical(), SystemNameExists(), SystemNameGet(), SystemNameGetStored(), SystemNameIsValid(), SystemNameLogicalToDisplay(), SystemNameLogicalToOdbc(), SystemNameNormalize(), SystemNameOpen(), SystemNameSQLCheckUnique(), SystemNameSQLExists(), SystemNameSQLFindPKeyByConstraint(), SystemNameSQLFindRowIDByConstraint(), SystemNameSet()

Triggers

trigger OnDelete (BEFORE event DELETE);

Inherited Members

Inherited Methods

Storage

Storage Model: Storage (Ens.Config.Credentials)

^Ens.Conf.CredentialsD(ID)
=
%%CLASSNAME
Password
Username
BusinessPartner
PasswordSQL
FeedbackOpens in a new tab