Classe TLDAPSend
Unit
Declaração
type TLDAPSend = class(TSynaClient)
Descrição
Implementation of LDAP client
(version 2 and 3)
Note: Are you missing properties for setting Username and Password? Look to parent TSynaClient object!
Are you missing properties for specify server address and port? Look to parent TSynaClient too!
Hierarquia
- TObject
- TSynaClient
- TLDAPSend
Visão Geral
Métodos
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function Login: Boolean; |
![]() |
function Bind: Boolean; |
![]() |
function BindSasl: Boolean; |
![]() |
function Logout: Boolean; |
![]() |
function Modify(obj: AnsiString; Op: TLDAPModifyOp; const Value: TLDAPAttribute): Boolean; |
![]() |
function Add(obj: AnsiString; const Value: TLDAPAttributeList): Boolean; |
![]() |
function Delete(obj: AnsiString): Boolean; |
![]() |
function ModifyDN(obj, newRDN, newSuperior: AnsiString; DeleteoldRDN: Boolean): Boolean; |
![]() |
function Compare(obj, AttributeValue: AnsiString): Boolean; |
![]() |
function Search(obj: AnsiString; TypesOnly: Boolean; Filter: AnsiString; const Attributes: TStrings): Boolean; |
![]() |
function Extended(const Name, Value: AnsiString): Boolean; |
![]() |
function StartTLS: Boolean; |
Propriedades
![]() |
property Version: integer read FVersion Write FVersion; |
![]() |
property ResultCode: Integer read FResultCode; |
![]() |
property ResultString: AnsiString read FResultString; |
![]() |
property FullResult: AnsiString read FFullResult; |
![]() |
property AutoTLS: Boolean read FAutoTLS Write FAutoTLS; |
![]() |
property FullSSL: Boolean read FFullSSL Write FFullSSL; |
![]() |
property Seq: integer read FSeq; |
![]() |
property SearchScope: TLDAPSearchScope read FSearchScope Write FSearchScope; |
![]() |
property SearchAliases: TLDAPSearchAliases read FSearchAliases Write FSearchAliases; |
![]() |
property SearchSizeLimit: integer read FSearchSizeLimit Write FSearchSizeLimit; |
![]() |
property SearchTimeLimit: integer read FSearchTimeLimit Write FSearchTimeLimit; |
![]() |
property SearchPageSize: integer read FSearchPageSize Write FSearchPageSize; |
![]() |
property SearchCookie: AnsiString read FSearchCookie Write FSearchCookie; |
![]() |
property SearchResult: TLDAPResultList read FSearchResult; |
![]() |
property Referals: TStringList read FReferals; |
![]() |
property ExtName: AnsiString read FExtName; |
![]() |
property ExtValue: AnsiString read FExtValue; |
![]() |
property Sock: TTCPBlockSocket read FSock; |
Descrição
Métodos
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function Login: Boolean; |
Try to connect to LDAP server and start secure channel, when it is required. |
![]() |
function Bind: Boolean; |
Try to This method using plaintext transport of password! It is not secure! |
![]() |
function BindSasl: Boolean; |
Try to bind to LDAP server with TSynaClient.Username and TSynaClient.Password. If this is empty strings, then it do annonymous Bind. When you not call Bind on LDAPv3, then is automaticly used anonymous mode. This method using SASL with DIGEST-MD5 method for secure transfer of your password. |
![]() |
function Logout: Boolean; |
Close connection to LDAP server. |
![]() |
function Modify(obj: AnsiString; Op: TLDAPModifyOp; const Value: TLDAPAttribute): Boolean; |
|
![]() |
function Add(obj: AnsiString; const Value: TLDAPAttributeList): Boolean; |
|
![]() |
function Delete(obj: AnsiString): Boolean; |
|
![]() |
function ModifyDN(obj, newRDN, newSuperior: AnsiString; DeleteoldRDN: Boolean): Boolean; |
Modify object name of this LDAP object. |
![]() |
function Compare(obj, AttributeValue: AnsiString): Boolean; |
Try to |
![]() |
function Search(obj: AnsiString; TypesOnly: Boolean; Filter: AnsiString; const Attributes: TStrings): Boolean; |
|
![]() |
function Extended(const Name, Value: AnsiString): Boolean; |
Call any LDAPv3 |
![]() |
function StartTLS: Boolean; |
Try to start SSL/TLS connection to LDAP server. |
Propriedades
![]() |
property Version: integer read FVersion Write FVersion; |
Specify |
![]() |
property ResultCode: Integer read FResultCode; |
Result code of last LDAP operation. |
![]() |
property ResultString: AnsiString read FResultString; |
Human readable description of result code of last LDAP operation. |
![]() |
property FullResult: AnsiString read FFullResult; |
Binary string with full last response of LDAP server. This string is encoded by ASN.1 BER encoding! You need this only for debugging. |
![]() |
property AutoTLS: Boolean read FAutoTLS Write FAutoTLS; |
If |
![]() |
property FullSSL: Boolean read FFullSSL Write FFullSSL; |
If |
![]() |
property Seq: integer read FSeq; |
Sequence number of last LDAp command. It is incremented by any LDAP command. |
![]() |
property SearchScope: TLDAPSearchScope read FSearchScope Write FSearchScope; |
![]() |
property SearchAliases: TLDAPSearchAliases read FSearchAliases Write FSearchAliases; |
Specify how to handle aliases in search command. |
![]() |
property SearchSizeLimit: integer read FSearchSizeLimit Write FSearchSizeLimit; |
Specify result size limit in search command. Value 0 means without limit. |
![]() |
property SearchTimeLimit: integer read FSearchTimeLimit Write FSearchTimeLimit; |
Specify search time limit in search command (seconds). Value 0 means without limit. |
![]() |
property SearchPageSize: integer read FSearchPageSize Write FSearchPageSize; |
Specify number of results to return per search request. Value 0 means no paging. |
![]() |
property SearchCookie: AnsiString read FSearchCookie Write FSearchCookie; |
Cookie returned by paged search results. Use an empty string for the first search request. |
![]() |
property SearchResult: TLDAPResultList read FSearchResult; |
Here is result of search command. |
![]() |
property Referals: TStringList read FReferals; |
On each LDAP operation can LDAP server return some |
![]() |
property ExtName: AnsiString read FExtName; |
When you call Extended operation, then here is result Name returned by server. |
![]() |
property ExtValue: AnsiString read FExtValue; |
When you call Extended operation, then here is result Value returned by server. |
![]() |
property Sock: TTCPBlockSocket read FSock; |
TCP socket used by all LDAP operations. |
Gerado por PasDoc 0.16.0.