CData Python Connector for LDAP

Build 20.0.7745

Top

The top level class from which all classes are derived.

Table Specific Information

Select

All columns support operators =, >= , <=, !=, LIKE, AND and OR. For example:

SELECT * FROM Top WHERE  CN != 'NewUser' AND  BaseDN = 'CN=Users,DC=MyDC' LIMIT 5 

Insert

To add a Top, fields can be specified except Id, DN and BaseDN. Required fields that should be provided are RDN and ObjectClass. For example:

INSERT INTO Top (RDN, ObjectClass) VALUES ('CN=NewUser', 'top;person;organizationalPerson;user;inetOrgPerson')

Update

All columns except Id, DN and BaseDN can be updated by providing the Id in the WHERE clause. For example:

UPDATE Top SET SN = 'test' WHERE Id = '1|CN=NewUser,CN=Users,DC=MyDC'

Delete

Tops can be deleted by providing the Id of the Top and issuing a DELETE statement. For example:

DELETE FROM Top WHERE Id = '1|CN=NewUser,CN=Users,DC=MyDC'

Columns

Name Type ReadOnly References DataFormat Description
Id [KEY] String True

Combined index and DN. Multiple indices are only possible when a column is set to SplitDataByRow.

DN String True

The full distinguished name.

RDN String False

The relative distinguished name.

BaseDN String True

The base distinguished name.

ObjectClass String False delimitedData

The list of classes from which this class is derived.

SN String False delimitedData

This attribute contains the family or last name for a user.

CN String False delimitedData

The name that represents an object. Used to perform searches.

GroupType String False delimitedData

Contains a set of flags that define the type and scope of a group object.

MemberOf String False delimitedData

The distinguished name of the groups to which this object belongs.

DC String False delimitedData

The attribute DC for the Domain object class.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Filter String

Defines the LDAP filter explicitly, overriding any other values set in the WHERE clause.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 20.0.7745