Top
The root class from which all other LDAP classes are derived. It provides foundational attributes for other directory classes.
Table Specific Information
Select
All columns support server-side processing for the following operators =, >= , <=, !=, LIKE, AND, and OR. Other filters are executed client side within the 本製品. For example, the following query is processed by LDAP:
SELECT * FROM Top WHERE CN != 'NewUser' AND BaseDN = 'CN=Users,DC=MyDC' LIMIT 5
Insert
To add a Top record, all 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 Description = 'test' WHERE Id = '1|CN=NewUser,CN=Users,DC=MyDC'
Delete
Top records can be deleted by providing the Id of the Top record in 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 |
A combined index and Distinguished Name (DN). Multiple indices are supported if the column is set to 'SplitDataByRow'. | ||
DN | String | True |
The full Distinguished Name (DN) that represents the unique LDAP path of the object. | ||
RDN | String | False |
The Relative Distinguished Name (RDN), which is the unique part of the DN within its parent container. | ||
BaseDN | String | True |
The base Distinguished Name (BaseDN) that specifies the starting point for LDAP operations. | ||
ObjectClass | String | False | DelimitedData |
The hierarchical list of LDAP object classes from which this object is derived, defining its attributes and behavior. | |
SN | String | False | DelimitedData |
Contains the user's surname or family name, such as 'Smith'. | |
CN | String | False | DelimitedData |
Represents the common name of the object, often used for LDAP searches. For example, 'John Doe'. | |
GroupType | String | False | DelimitedData |
Defines a set of flags indicating the type and scope of the group object. For example, it identifies whether it is a security or distribution group. | |
MemberOf | String | False | DelimitedData |
Specifies the Distinguished Names (DNs) of the groups to which this object belongs. This establishes group membership relationships. | |
DC | String | False | DelimitedData |
Specifies the Domain Component (DC) attribute for the Domain object class, used to identify the domain. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Filter | String |
Defines an explicit LDAP filter that overrides any other filter values set in the WHERE clause of the query. |