System.DirectoryServices
Constructs a new sys description.
description text.
Retrieves the description text.
description
Specifies the types of authentication used in .
Equates to .
Requests secure authentication. When this flag is set,
the WinNT provider uses NTLM to authenticate the client. Active Directory uses
Kerberos, and possibly NTLM, to authenticate the client. When the user name and
password are , ADSI binds to the object using the security context of the calling thread, which is either the security context of
the user account under which the application is running or of the client
user account that the calling thread is impersonating.
Forces ADSI to use encryption for data that
is being exchanged over the network.
Attaches a cryptographic signature to
the message that both identifies the sender and ensures that the message has not
been modified in transit. Active Directory requires the Certificate Server be installed to support
Secure Sockets Layer (SSL) encryption.
For a WinNT provider, ADSI tries to connect to a primary domain controller (PDC)
or a backup domain controller (BDC). For Active Directory, this flag indicates
that a writable server is not required for a serverless binding.
No authentication is performed. The providers may attempt to bind a client as an
anonymous user to the targeted object. The WinNT provider does not support this
flag. Active Directory establishes a connection between the client and the
targeted object, but does not perform any authentication. Setting this flag
amounts to requesting an unsecured binding, which means "Everyone" as the
security context.
ADSI does not attempt to query the Active Directory objectClass property and
thus only exposes the base interfaces supported by all ADSI objects instead of
the full object support. A user can use this option to boost the performance in
a series of object manipulations that involve only methods of the base interfaces.
However, ADSI does not verify if any of the request objects actually exist
on the server. For more information, see "Fast Binding Options for Batch Write/Modify
Operations" in the Active Directory Programmer's Guide.
Verifies data integrity to ensure that the data received is
the same as the data sent. The
flag must also
be set to use signing.
Encrypts data using Kerberos. The
flag must also be set
to use sealing.
Enables Active Directory Services
Interface (ADSI) to delegate the user's security context,
which is necessary for moving objects across domains.
If your ADsPath includes a
server name, specify this flag when using the LDAP provider. Do not use this flag for paths
that include a domain name or for serverless paths. Specifying a server name without also specifying
this flag results in unnecessary network traffic.
Constructs a new sys description.
description text.
Retrieves the description text.
description
Contains the children (child entries) of an entry in Active Directory.
Creates a request to create a new entry in the container.
The name of the new entry.
The name of the schema used for this new entry.
A that represents the new entry.
Returns the child with the specified name.
The name of the child you are looking for.
A that represents the child that was found.
Returns the child with the specified name and of the specified type.
The name of the child you are looking for.
The type of the child you are looking for.
A that represents the child you found.
Deletes a child from this collection.
The to delete.
Gets the schemas that specify which children are contained in the collection.
Advances
the enumerator to the next element of the collection
and returns a Boolean value indicating whether a valid element is available.
if the enumerator was successfully advanced to the next
element; if
the enumerator has passed the end of the collection.
Resets the enumerator back to its initial position before the first element in the collection.
Gets the current element in the collection.
Encapsulates a node or object in the Active Directory
hierarchy.
Initializes a new instance of the class.
Initializes a new instance of the class that binds this instance to the
node in Active Directory located at the specified path.
The path at which to bind the to the directory. The property is initialized to this value.
Initializes a new instance of the class. The , , and properties are set to the specified
values.
The path of this . The property is initialized to this value.
The user name to use when authenticating the client. The property is initialized to this value.
The password to use when authenticating the client. The property is initialized to this value.
Initializes a new instance of the class. The , , , and properties are set to the specified
values.
The path of this . The property is initialized to this value.
The user name to use when authenticating the client. The property is initialized to this value.
The password to use when authenticating the client. The property is initialized to this value.
One of the values. The property is initialized to this value.
Initializes a new instance of the
class that binds to the specified native Active Directory object.
The native Active Directory object to bind to.
Closes the
and releases any system resources associated with this component.
Saves any changes
to the entry in the Active Directory store.
Creates a copy of this entry as a child of the specified parent.
The parent .
A copy of this entry as a child of the specified parent.
Creates a copy of this entry, as a child of the specified
parent, with the specified new name.
The parent .
The name of the copy of this entry.
A
renamed copy of this entry as a child of the specified parent.
Deletes this entry and its entire subtree from the
Active Directory hierarchy.
Disposes of the resources (other than memory) used by the
.
to release both managed and unmanaged resources; to release only unmanaged resources.
Searches the directory store at the specified
path to see whether an entry exists.
The path at which to search the directory store.
if an entry exists
in the directory store at the specified path; otherwise, .
Calls
a method on the native Active Directory.
The name of the method to invoke.
An array of type that contains the arguments of the method to invoke.
The return value of the invoked
method.
Moves this entry to the specified parent.
The parent to which you want to move this entry.
Moves this entry to the specified parent
and changes its name to the value of the parameter.
The parent to which you want to move this entry.
The new name of this entry.
Loads the property values for this directory entry into
the property cache.
Loads the values of the specified properties into the
property cache.
An array of the specified properties.
Changes the name of this entry.
The new name of the entry.
Gets or sets the type of authentication to use.
Gets a
containing the child entries of this node in the Active
Directory hierarchy.
Gets the globally unique identifier (GUID) of the .
Gets the name of the object as named with the
underlying directory service.
Gets the globally unique identifier of the ,
as returned from the provider.
Gets the native Active Directory Service Interfaces (ADSI) object.
Gets this entry's parent in the Active Directory hierarchy.
Gets or sets the password to use when authenticating the client.
Gets or sets the path for this .
Gets a
of properties set on this object.
Gets the name of the schema used for this .
Gets the that holds schema information for
this entry. An entry's schema determines a list of its mandatory and optional property names.
Gets or sets a value indicating whether the cache should be committed after each
operation.
Gets or sets the user name to use when authenticating the client.
Performs queries against Active Directory.
Initializes a new instance of the class with ,
, , and set to the default values.
Initializes a new instance of the class with
, , and set to the
default values. is set to the specified value.
The node in the Active Directory hierarchy where the search starts. The property is initialized to this value.
Initializes a new instance of the class with
and set to the
default values. and are set to the specified values.
The node in the Active Directory hierarchy where the search starts. The property is initialized to this value.
The search filter string in Lightweight Directory Access Protocol (LDAP) format. The property is initialized to this value.
Initializes a new instance of the class with
set to its
default value. , , and are set to the specified values.
The node in the Active Directory hierarchy where the search starts. The property is initialized to this value.
The search filter string in Lightweight Directory Access Protocol (LDAP) format. The property is initialized to this value.
The set of properties retrieved during the search. The property is initialized to this value.
Initializes a new instance of the class with ,
, and set to the
default values. is set to the specified value.
The search filter string in Lightweight Directory Access Protocol (LDAP) format. The property is initialized to this value.
Initializes a new instance of the class with
and set to the
default values. and are set to the specified values.
The search filter string in Lightweight Directory Access Protocol (LDAP) format. The property is initialized to this value.
The set of properties to retrieve during the search. The property is initialized to this value.
Initializes a new instance of the class with set to its
default value. , , and are set to the specified values.
The search filter string in Lightweight Directory Access Protocol (LDAP) format. The property is initialized to this value.
The set of properties to retrieve during the search. The property is initialized to this value.
The scope of the search that is observed by the server. The property is initialized to this value.
Initializes a new instance of the class with the , , , and properties set to the specified
values.
The node in the Active Directory hierarchy where the search starts. The property is initialized to this value.
The search filter string in Lightweight Directory Access Protocol (LDAP) format. The property is initialized to this value.
The set of properties to retrieve during the search. The property is initialized to this value.
The scope of the search that is observed by the server. The property is initialized to this value.
Executes the search and returns only the first entry found.
A that is the first entry
found during the search.
Executes the search and returns a collection of the entries that are found.
A collection of nodes from
Active Directory.
Gets or sets a value indicating whether the result is cached on the
client computer.
Gets or sets the maximum amount of time that the client waits for
the server to return results. If the server does not respond within this time,
the search is aborted and no results are returned.
Gets or sets a value indicating whether the search retrieves only the
names of attributes to which values have been assigned.
Gets or sets the Lightweight Directory Access Protocol (LDAP) format filter
string.
Gets or sets the page size in a paged search.
Gets the set of properties retrieved
during the search.
Gets or sets how referrals are chased.
Gets or sets the scope of the search that is observed by the server.
Gets or sets the time limit the server should observe
to search an individual page of results (as opposed to
the time limit for the entire search).
Gets or sets the maximum amount of time the server spends searching. If
the time limit is reached, only entries found up to that point are returned.
Gets or sets the maximum number of objects
the server returns in a search.
Gets or sets the node in the Active
Directory hierarchy where the search starts.
Gets the property on which the results are
sorted.
Allows control of code access security permissions for .
Initializes a new instance of the class.
Initializes a new instance of the class with
the specified permission state.
One of the values.
Initializes a new instance of the class with
the specified access levels and path to an Active Directory node.
One of the values.
The path of the Active Directory node to which the permissions apply.
Initializes a new instance of the class with the
specified permission access level entries.
An array of objects. The property is set to this value.
Gets the collection of permission entries for this permission.
Defines access levels used by
permission classes.
There are no permissions.
Reading the Active Directory tree is allowed.
Reading, writing, deleting, changing, and adding to the Active Directory tree are allowed.
Allows declarative permission checks.
Initializes a new instance of the class.
One of the values.
Creates the permissions based on the attribute's specifications.
An that represents the created permission.
Gets or sets a path to an Active Directory node to
which the permissions apply.
Gets or sets the access levels used in creating permissions.
Defines the smallest unit of a code access security permission set for
.
Initializes a new instance of the class.
One of the values.
The path of the Active Directory node to which the permissions apply.
Gets a path to an Active Directory node to
which the permissions apply.
Gets the access levels used in creating permissions.
Contains a strongly typed collection of objects.
Adds a specified to this collection.
The object to add.
The zero-based index of the added object.
Appends a set of specified permission entries to this collection.
An array of type objects that contains the permission entries to add.
Appends a set of specified permission entries to this collection.
A that contains the permission entries to add.
Determines whether this collection contains a specified
object.
The object to find.
if the specified object belongs to this collection;
otherwise, .
Copies the permission entries from this collection to an
array, starting at a particular index of the array.
An array of type that receives this collection's permission entries.
The zero-based index at which to begin copying the permission entries.
Determines the index of a specified permission entry in this collection.
The permission entry for which to search.
The zero-based index of the specified permission
entry, or -1 if the permission entry is not found in the collection.
Inserts a permission entry into this collection at a specified index.
The zero-based index into the collection at which to insert the permission entry.
The permission entry to insert into this collection.
Removes a specified permission entry from this collection.
The permission entry to remove.
Gets or sets the object at a specified index.
The zero-based index into the collection.
Contains the properties of a .
Determines whether the specified property is in this collection.
The name of the property to find.
if the specified property is in the collection;
otherwise, .
Copies the properties from this collection to an array, starting at a particular index of the array.
An array of type that contains this collection's properties.
The zero-based array index at which to begin copying the properties.
Returns an enumerator that you can use to iterate through this collection.
An that you can use to iterate through this collection.
Gets the specified property.
The name of the property to retrieve.
Gets the number of properties in this collection.
Gets the names of the properties in this collection.
Gets the values of the properties in this collection.
Contains the values of a
property.
Appends a property value to this collection.
The property value to add.
The zero-based index of the property value that was added.
Appends a set of property values to this collection.
An array of type that contains the property values to add.
Appends a set of property values to this collection.
A that contains the property values to add.
Determines whether a specified property value is in this collection.
The property value to search for.
if the property value is in the collection; otherwise,
.
Copies the properties from this collection to an array,
starting at a particular index of the array.
An array of type that receives the collection's property values.
The zero-based index at which to begin copying the property values.
Retrieves the index of a specified property value in this collection.
The property value to find.
The zero-based index of the specified property value. If
the object is not found, the return value is -1.
Inserts a property value into this collection at a specified index.
The zero-based index at which to insert the property value.
The property value to insert.
Removes a specified property value from this collection.
The property value to remove.
Gets or sets the property value that is located at a specified index of this collection.
The zero-based index of the property value.
Gets or sets the values of the collection.
Specifies if and how referral chasing is pursued.
Never chase the referred-to server. Setting this option
prevents a client from contacting other servers in a referral process.
Chase only subordinate referrals which are a subordinate naming context in a
directory tree. The ADSI LDAP provider always turns off this flag for paged
searches.
Chase external referrals.
Chase referrals of either the subordinate or external type.
Contains the properties of a instance.
Determines whether the property that has the specified name belongs to this collection.
The name of the property to find.
if the specified property belongs to this collection;
otherwise, .
Copies the properties from this collection to an array,
starting at a particular index of the array.
An array of type that receives this collection's properties.
The zero-based array index at which to begin copying the properties.
Gets the property from this collection that has the specified name.
The name of the property to retrieve.
Get the names of the properties in this collection.
Gets the values of the properties in this collection.
Contains the values of a property.
Determines whether a specified property value is in this collection.
The property value to find.
if the
property value belongs to this collection; otherwise,
.
Retrieves the index of a specified property value in this collection.
The property value to find.
The zero-based index of the specified property value. If
the object is not found, the return value is -1.
Copies the property values from this collection to an
array, starting at a particular index of the array.
An array of type that receives this collection's property values.
The zero-based array index at which to begin copying the property values.
Gets the property value that is located at a specified index.
The zero-based index of the property value to retrieve.
Contains a list of the schema names that the property of a object can use.
Appends a specified schema name to this
collection.
The schema name to add to this collection.
The zero-based index of the added schema name.
Appends a set of specified schema names to this collection.
An array of type that contains the schema names to add.
Appends a set of specified schema names to this collection.
A that contains the schema names to add.
Removes all objects from this collection.
Determines whether this collection contains a specified schema name.
The schema name to search for.
if the schema name was found in this
collection; otherwise, .
Copies the schema names from this collection to an array,
starting at a particular index of the array.
An array of type that receives this collection's schema names.
The zero-based array index at which to begin copying the schema names.
Returns an enumerator that you can use to iterate
through ths collection.
An enumerator that you can used to iterate through this collection.
Determines the index of a specified schema name in this collection.
The schema name to search for.
The zero-based index of the specified schema
name, or -1 if the schema name was not found in
the collection.
Inserts a schema name into this collection at a specified index.
The zero-based index into the collection at which to insert the schema name.
The schema name to insert into this collection.
Removes a specified schema name from this collection.
The schema name to remove.
Removes the schema name
that is at a specified index from this collection.
The zero-based index of the schema name to remove.
Gets or sets the object that
exists at a specified index.
The zero-based index into the collection.
Gets the number of objects in this collection.
Encapsulates a node in the Active Directory hierarchy
that is returned during a search through .
Retrieves the that corresponds to the , from the Active Directory
hierarchy.
The that corresponds to the .
Gets the path for this .
Gets a
of properties set on this object.
Contains the instances that the Active
Directory hierarchy returned during a query.
Releases all resources used by the
.
Releases the unmanaged resources used by the and optionally releases the managed resources.
to release both managed and unmanaged resources; to release only unmanaged resources.
Returns an enumerator that you can use to iterate
through this collection.
An enumerator that you can use to iterate through this collection.
Determines if a specified object is in this collection.
The object to find.
if the
object is in the collection;
otherwise, .
Copies the objects from this collection to an array,
starting at a particular index of the array.
An array of type that receives this collection's objects.
The zero-based array index at which to begin copying the objects.
Retrieves the index of a specified object in this collection.
The object to find.
The zero-based index of the specified object. If the object is not found,
the return value is -1.
Gets the object that is located at a
specified index in this collection.
The zero-based index of the object to retrieve.
Gets the number of objects in this collection.
Gets the handle returned by
, which was called by
that created this collection.
Gets the
properties that were specified before the
search was executed.
Advances
the enumerator to the next element of the collection
and returns a Boolean value indicating whether a valid element is available.
if the enumerator was successfully advanced to the next
element; if
the enumerator has passed the end of the collection.
Specifies the possible scopes for a directory search.
Limits the search to the base object. The result contains one object at most.
Searches the immediate child objects of the base object, excluding the base object.
Searches the whole subtree, including the base object and all its child
objects.
Specifies how to sort the results of an Active Directory query.
Sort from smallest to largest. For example, A to Z.
Sort from largest to smallest. For example, Z to A.
Specifies how to sort the results of a search.
Initializes a new instance of the class.
Initializes a new instance of the class, which contains the specified property name
and specified sort direction.
The name of the property to sort by. The property is set to this value.
One of the values. The property is set to this value.
Gets or sets the name of the property to sort by.
Gets or sets the direction by which to sort the results
of a query.