| Home | Trees | Indices | Help |
|
|---|
|
|
LDAPProtocolOp --+
|
LDAPProtocolRequest --+
|
pureber.BERBase --+ |
| |
pureber.BERStructured --+ |
| |
UserList.UserList --+ |
| |
pureber.BERSequence --+
|
LDAPModifyRequest
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
|||
|
|||
tag = 70
|
|||
object =
|
|||
modification =
|
|||
|
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()
|
|
|
|
|||
object
|
modification
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Tue Apr 8 20:09:44 2008 | http://epydoc.sourceforge.net |