Property |
Description |
Attributes |
It
is a semicolon ";" separated list of attributes
against which the values should be retrieved from the
LDAP server.
Example (ASP):
<% Obj.Attributes
= "cn;sn;mail;telephonenumber;l" %>
|
ErrorReason |
Reports
any error that occurred during the request.
Example (ASP):
<% if Obj.IsError = 1 then
Response.Write
Obj.ErrorReason
else
No Error
Occurred
end if %>
|
Filter
|
It
is a filter that defines the conditions that must be
fulfilled in order for the search to match a given entry.
Attributes are referenced in the form: "Attribute operator
value". Its default value is "objectclass = *".
Example (ASP):
<% Obj.Filter =
"sn = Aasher" %>
|
FilterFile |
Specifies
the name of the file that contains the filter string
specification. If filter string is specified in the
filter file then the Filter parameter will be ignored.
Example (ASP):
<% Obj.Filter =
"c:\myownfolder\myownfile.txt" %>
|
IsError
|
Returns
1 if any error occurred during the request otherwise
0.
Example (ASP):
<% if Obj.IsError = 1 then
Response.Write
Obj.ErrorReason
else
No Error
Occurred
end if %>
|
MaxRows
|
It
is the maximum number of entries to be returned as a
result of a search. If not specified then all entries
are returned as default.
Example (ASP):
<% Obj.MaxRows =
5 %>
|
Password
|
Password
corresponds to the user name.
Example (ASP):
<% Obj.Password
= "mypassword" %>
|
Port
|
Optional.
If not specified then default port 389 is used for communicating with
LDAP server.
Example (ASP):
<% Obj.Port = 889
%>
|
Scope
|
Specifies
the scope of the search from the entry specified in
the DN property. Valid values are
OneLevel (default) Searches all entries one
level beneath the entry specified in the START attribute
Base Searches only the entry
specified in the START attribute
Subtree Searches the entry specified in
the START attribute as well all entries at all levels
beneath it
Example (ASP):
<% Obj.Scope = "base"
%>
|
ServerName |
Required.
Host name or IP address of the LDAP server.
Example (ASP):
<% Obj.ServerName
= "localhost" %>
|
Sort
|
Indicate
the attribute to sort query result by.
<% Obj.Sort = "cn"
%>
|
SortAscending |
Specify
sorting order of the Query results. Valid values are
TRUE (default) for ascending
FALSE for descending
<% Obj.SortAscending
= false %>
|
SortCasesensitive |
Specify
sorting mechanism of the Query results. Valid values
are
TRUE (default) for case sensitive
FALSE for case insensitive
<% Obj.SortCasesensitive
= false %>
|
Timeout
|
It
is the maximum time (in seconds) allowed for a search.
If not specified then default value is 60.
<% Obj.Timeout =
120 %>
|
UserName
|
User
name required for accessing the server. If no specified
then LDAP connection will be anonymous.
<% Obj.UserName
= "uid = admin, o = aspfusion.net" %>
|