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.StandardThe 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 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
- AddAttributes
- AddBinaryAttributes
- DeleteAttributes
- DeleteBinaryAttributes
- ReplaceAttributes
- ReplaceBinaryAttributes
Properties
Inherited Members
Inherited Properties
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %CompareContents()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawHTMLForm()
- %DrawHTMLTable()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetContentType()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InitExtentData()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %OnTimeout()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %ProcessSubmit()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %ShowContents()
- %ShowContentsHead()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- CalculatedDN()
- GenerateGenericDAOFromObject()
- GetStatsDimension()
- NewResponse()
- OnShowJSONContents()
- OnShowXMLContents()
- OutputFormattedJSON()
- WriteNoJSONFormat()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
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) |