struct LDAP::Modification

Overview

One modification applied to an attribute by LDAP::Client#modify. Build via the named constructors:

LDAP::Modification.add("objectClass", "person")
LDAP::Modification.replace("mail", "[email protected]")
LDAP::Modification.delete("telephoneNumber")   # whole attribute

Defined in:

ldap/modification.cr

Constructors

Instance Method Summary

Constructor Detail

def self.add(type : String, *values : String) : self #

[View source]
def self.delete(type : String) : self #

[View source]
def self.delete(type : String, *values : String) : self #

[View source]
def self.new(operation : ModifyOperation, type : String, values : Array(String)) #

[View source]
def self.replace(type : String) : self #

[View source]
def self.replace(type : String, *values : String) : self #

[View source]

Instance Method Detail

def operation : ModifyOperation #

[View source]
def type : String #

[View source]
def values : Array(String) #

[View source]