ActiveDirectoryConnectionProtection Enumeration


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Specifies the connection protection options supported by the ActiveDirectoryMembershipProvider class.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

Public Enumeration ActiveDirectoryConnectionProtection

Member nameDescription

No transport layer security is used. Explicit credentials for the Active Directory connection must be provided in the configuration file.


The connection to the Active Directory server is secured by digitally signing and encrypting each packet sent to the server.


An SSL connection is used to connect to the Active Directory server.

The ActiveDirectoryConnectionProtection enumeration is used in an application's configuration file to set the protocol used to secure communications between an ActiveDirectoryMembershipProvider object and an Active Directory or Active Directory Application Mode server. The enumeration indicates the type of connection security the provider established based on the connectionProtection attribute of the membership Element (ASP.NET Settings Schema) configuration element. The connectionProtection attribute can be set only to either "None" or "Secure".

.NET Framework
Available since 2.0
Return to top