Skip to main content

EnsLib.LDAP.Message.Modify

persistent class EnsLib.LDAP.Message.Modify extends Ens.Request, EnsLib.LDAP.Message.EntityIdentification

SQL Table Name: EnsLib_LDAP_Message.Modify

Request class to make an LDAP Modify request using operation EnsLib.LDAP.Operation.Standard
The properties allow adding, replacing or deleting attributes
For example to add a uniqueMember:
  Set tRequest=##Class(EnsLib.LDAP.Message.Modify).%New()
  Set tRequest.DN="cn=Administrators,ou=groups,ou=system"
  Do tRequest.AddAttributes.SetAt("uniqueMember=uid=James,ou=Engineers,dc=SamplePerson,dc=local",1)
  

To delete a specific Attribute/Value pair specify the value
To delete all attributes of specific name leave the value blank
For example to remove an attribute/value pair:
  Set tRequest=##Class(EnsLib.LDAP.Message.Modify).%New()
  Set tRequest.DN="cn=Administrators,ou=groups,ou=system"
  	 Do tRequest.DeleteAttributes.SetAt("uniqueMember=uid=James,ou=Engineers,dc=SamplePerson,dc=local",1)
  

Property Inventory

Properties

property AddAttributes as array of %String);
Array of non Binary Attributes/Value pairs to add.
Property methods: AddAttributesBuildValueArray(), AddAttributesCollectionToDisplay(), AddAttributesCollectionToOdbc(), AddAttributesDisplayToCollection(), AddAttributesDisplayToLogical(), AddAttributesGet(), AddAttributesGetObject(), AddAttributesGetObjectId(), AddAttributesGetStored(), AddAttributesGetSwizzled(), AddAttributesIsValid(), AddAttributesLogicalToDisplay(), AddAttributesLogicalToOdbc(), AddAttributesNormalize(), AddAttributesOdbcToCollection(), AddAttributesSet(), AddAttributesSetObject(), AddAttributesSetObjectId()
property AddBinaryAttributes as array of %String);
Array of Binary Attributes to add.
Property methods: AddBinaryAttributesBuildValueArray(), AddBinaryAttributesCollectionToDisplay(), AddBinaryAttributesCollectionToOdbc(), AddBinaryAttributesDisplayToCollection(), AddBinaryAttributesDisplayToLogical(), AddBinaryAttributesGet(), AddBinaryAttributesGetObject(), AddBinaryAttributesGetObjectId(), AddBinaryAttributesGetStored(), AddBinaryAttributesGetSwizzled(), AddBinaryAttributesIsValid(), AddBinaryAttributesLogicalToDisplay(), AddBinaryAttributesLogicalToOdbc(), AddBinaryAttributesNormalize(), AddBinaryAttributesOdbcToCollection(), AddBinaryAttributesSet(), AddBinaryAttributesSetObject(), AddBinaryAttributesSetObjectId()
property DeleteAttributes as array of %String);
Array of Attributes/Value pairs to delete.
Property methods: DeleteAttributesBuildValueArray(), DeleteAttributesCollectionToDisplay(), DeleteAttributesCollectionToOdbc(), DeleteAttributesDisplayToCollection(), DeleteAttributesDisplayToLogical(), DeleteAttributesGet(), DeleteAttributesGetObject(), DeleteAttributesGetObjectId(), DeleteAttributesGetStored(), DeleteAttributesGetSwizzled(), DeleteAttributesIsValid(), DeleteAttributesLogicalToDisplay(), DeleteAttributesLogicalToOdbc(), DeleteAttributesNormalize(), DeleteAttributesOdbcToCollection(), DeleteAttributesSet(), DeleteAttributesSetObject(), DeleteAttributesSetObjectId()
property DeleteBinaryAttributes as array of %String);
Property methods: DeleteBinaryAttributesBuildValueArray(), DeleteBinaryAttributesCollectionToDisplay(), DeleteBinaryAttributesCollectionToOdbc(), DeleteBinaryAttributesDisplayToCollection(), DeleteBinaryAttributesDisplayToLogical(), DeleteBinaryAttributesGet(), DeleteBinaryAttributesGetObject(), DeleteBinaryAttributesGetObjectId(), DeleteBinaryAttributesGetStored(), DeleteBinaryAttributesGetSwizzled(), DeleteBinaryAttributesIsValid(), DeleteBinaryAttributesLogicalToDisplay(), DeleteBinaryAttributesLogicalToOdbc(), DeleteBinaryAttributesNormalize(), DeleteBinaryAttributesOdbcToCollection(), DeleteBinaryAttributesSet(), DeleteBinaryAttributesSetObject(), DeleteBinaryAttributesSetObjectId()
property ReplaceAttributes as array of %String);
Array of non Binary Attributes/Value pairs to replace.
Property methods: ReplaceAttributesBuildValueArray(), ReplaceAttributesCollectionToDisplay(), ReplaceAttributesCollectionToOdbc(), ReplaceAttributesDisplayToCollection(), ReplaceAttributesDisplayToLogical(), ReplaceAttributesGet(), ReplaceAttributesGetObject(), ReplaceAttributesGetObjectId(), ReplaceAttributesGetStored(), ReplaceAttributesGetSwizzled(), ReplaceAttributesIsValid(), ReplaceAttributesLogicalToDisplay(), ReplaceAttributesLogicalToOdbc(), ReplaceAttributesNormalize(), ReplaceAttributesOdbcToCollection(), ReplaceAttributesSet(), ReplaceAttributesSetObject(), ReplaceAttributesSetObjectId()
property ReplaceBinaryAttributes as array of %String);
Array of Binary Attributes/Value pairs to replace.
Property methods: ReplaceBinaryAttributesBuildValueArray(), ReplaceBinaryAttributesCollectionToDisplay(), ReplaceBinaryAttributesCollectionToOdbc(), ReplaceBinaryAttributesDisplayToCollection(), ReplaceBinaryAttributesDisplayToLogical(), ReplaceBinaryAttributesGet(), ReplaceBinaryAttributesGetObject(), ReplaceBinaryAttributesGetObjectId(), ReplaceBinaryAttributesGetStored(), ReplaceBinaryAttributesGetSwizzled(), ReplaceBinaryAttributesIsValid(), ReplaceBinaryAttributesLogicalToDisplay(), ReplaceBinaryAttributesLogicalToOdbc(), ReplaceBinaryAttributesNormalize(), ReplaceBinaryAttributesOdbcToCollection(), ReplaceBinaryAttributesSet(), ReplaceBinaryAttributesSetObject(), ReplaceBinaryAttributesSetObjectId()

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: Storage (Ens.MessageBody)

^Ens.MessageBodyD(ID)
=
%%CLASSNAME

Storage Model: Storage (EnsLib.LDAP.Message.Modify)

^Ens.MessageBodyD(ID,"EnsLib.LDAP.Message.Modify.AddAttributes",n)
=
AddAttributes(n)

Storage Model: Storage (EnsLib.LDAP.Message.Modify)

^Ens.MessageBodyD(ID,"EnsLib.LDAP.Message.Modify.AddBinaryAttributes",n)
=
AddBinaryAttributes(n)

Storage Model: Storage (EnsLib.LDAP.Message.Modify)

^Ens.MessageBodyD(ID,"EnsLib.LDAP.Message.Modify.DeleteAttributes",n)
=
DeleteAttributes(n)

Storage Model: Storage (EnsLib.LDAP.Message.Modify)

^Ens.MessageBodyD(ID,"EnsLib.LDAP.Message.Modify.DeleteBinaryAttributes",n)
=
DeleteBinaryAttributes(n)

Storage Model: Storage (EnsLib.LDAP.Message.Modify)

^Ens.MessageBodyD(ID,"Modify")
=
DN
RDN
Parent
Base

Storage Model: Storage (EnsLib.LDAP.Message.Modify)

^Ens.MessageBodyD(ID,"EnsLib.LDAP.Message.Modify.ReplaceAttributes",n)
=
ReplaceAttributes(n)

Storage Model: Storage (EnsLib.LDAP.Message.Modify)

^Ens.MessageBodyD(ID,"EnsLib.LDAP.Message.Modify.ReplaceBinaryAttributes",n)
=
ReplaceBinaryAttributes(n)
FeedbackOpens in a new tab