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

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

Contains the authorization information needed to use a remote system.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 8 10 1 1 1


Summary

Properties
BusinessPartner Password PasswordSQL SystemName
Username

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject GetCredentialsObj
GetValue PasswordGet PasswordSet SetCredential
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType


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 Password as %CSP.Util.Passwd(CAPTION="@Ensemble:Password@Password",MAXLEN=200,XMLPROJECTION="ATTRIBUTE") [ SqlFieldName = PasswordObject ];
• property PasswordSQL as %String(MAXLEN=200,XMLPROJECTION="NONE") [ Calculated,SqlFieldName = Password ];
• property SystemName as %String(CAPTION="@Ensemble:SystemNameID@ID",XMLPROJECTION="ATTRIBUTE");
• property Username as %String(CAPTION="@Ensemble:Username@Username",MAXLEN=200,XMLPROJECTION="ATTRIBUTE");

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
This is a Get accessor method for the Password property.
• method PasswordSet(Arg As %CSP.Util.Passwd) as %Status
This is a Set accessor method for the Password property.
• 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,Username,'xxx' as Password,BusinessPartner from Ens_Config.Credentials

Indices

•index (SystemName on SystemName) [IdKey,PrimaryKey];

Triggers

•trigger OnDelete (BEFORE event DELETE)


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