Logo Search packages:      
Sourcecode: ldaptor version File versions

def ldaptor::interfaces::ILDAPEntry::__getitem__ (   self,
  key 
)


Get all values of an attribute.

>>> o=LDAPEntry(client=ldapclient.LDAPClient(),
...     dn='cn=foo,dc=example,dc=com',
...     attributes={'anAttribute': ['itsValue']})
>>> o['anAttribute']
['itsValue']

Definition at line 18 of file interfaces.py.

00018                               :
      """

      Get all values of an attribute.

      >>> o=LDAPEntry(client=ldapclient.LDAPClient(),
      ...     dn='cn=foo,dc=example,dc=com',
      ...     attributes={'anAttribute': ['itsValue']})
      >>> o['anAttribute']
      ['itsValue']

      """

    def get(self, key, default=None):


Generated by  Doxygen 1.6.0   Back to index