Share via


ActiveDirectoryConnection class

LDAP Connection definition (for both AD and LDAP connections)

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.Connection
    Microsoft.Office.Server.UserProfiles.DirectoryServiceConnection
      Microsoft.Office.Server.UserProfiles.ActiveDirectoryConnection

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class ActiveDirectoryConnection _
    Inherits DirectoryServiceConnection
'Usage
Dim instance As ActiveDirectoryConnection
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class ActiveDirectoryConnection : DirectoryServiceConnection

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ActiveDirectoryConnection members

Microsoft.Office.Server.UserProfiles namespace