| Home | Trees | Indices | Help |
|
|---|
|
|
LDAPProtocolOp --+
|
LDAPProtocolRequest --+
|
pureber.BERBase --+ |
| |
pureber.BERStructured --+ |
| |
object --+ | |
| | |
_abcoll.Sized --+ | |
| | |
object --+ | | |
| | | |
_abcoll.Iterable --+ | |
| | |
object --+ | | |
| | | |
_abcoll.Container --+ | |
| | |
_abcoll.Sequence --+ | |
| | |
_abcoll.MutableSequence --+ | |
| | |
UserList.UserList --+ |
| |
pureber.BERSequence --+
|
LDAPModifyRequest
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
tag = 70hash(x) |
|||
object = Nonehash(x) |
|||
modification = Nonehash(x) |
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Initialize the object Example usage:
l = LDAPModifyRequest(
object='cn=foo,dc=example,dc=com',
modification=[
BERSequence([
BEREnumerated(0),
BERSequence([
LDAPAttributeDescription('attr1'),
BERSet([
LDAPString('value1'),
LDAPString('value2'),
]),
]),
]),
BERSequence([
BEREnumerated(1),
BERSequence([
LDAPAttributeDescription('attr2'),
]),
]),
])
But more likely you just want to say:
mod = delta.ModifyOp('cn=foo,dc=example,dc=com',
[delta.Add('attr1', ['value1', 'value2']),
delta.Delete('attr1', ['value1', 'value2'])])
l = mod.asLDAP()
|
str(x)
|
repr(x)
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Nov 29 13:55:25 2015 | http://epydoc.sourceforge.net |