ConnectionManager.AddActiveDirectoryConnection ConnectionManager.AddActiveDirectoryConnection ConnectionManager.AddActiveDirectoryConnection Method

Definition

Overloads

AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String) AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String) AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String)
AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String, String) AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String, String) AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String, String)

Adds an Active Directory connection for the current service context.

AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String) AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String) AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String)

public:
 Microsoft::Office::Server::UserProfiles::DirectoryServiceConnection ^ AddActiveDirectoryConnection(Microsoft::Office::Server::UserProfiles::ConnectionType type, System::String ^ displayName, System::String ^ server, bool useSSL, System::String ^ accountDomain, System::String ^ accountUsername, System::Security::SecureString ^ accountPassword, System::Collections::Generic::List<Microsoft::Office::Server::UserProfiles::DirectoryServiceNamingContext ^> ^ namingContexts, System::String ^ spsClaimProviderTypeValue, System::String ^ spsClaimProviderIdValue);
public Microsoft.Office.Server.UserProfiles.DirectoryServiceConnection AddActiveDirectoryConnection (Microsoft.Office.Server.UserProfiles.ConnectionType type, string displayName, string server, bool useSSL, string accountDomain, string accountUsername, System.Security.SecureString accountPassword, System.Collections.Generic.List<Microsoft.Office.Server.UserProfiles.DirectoryServiceNamingContext> namingContexts, string spsClaimProviderTypeValue, string spsClaimProviderIdValue);
Public Function AddActiveDirectoryConnection (type As ConnectionType, displayName As String, server As String, useSSL As Boolean, accountDomain As String, accountUsername As String, accountPassword As SecureString, namingContexts As List(Of DirectoryServiceNamingContext), spsClaimProviderTypeValue As String, spsClaimProviderIdValue As String) As DirectoryServiceConnection
Parameters
displayName
String String String
accountDomain
String String String
accountUsername
String String String
spsClaimProviderTypeValue
String String String
spsClaimProviderIdValue
String String String
Returns

AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String, String) AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String, String) AddActiveDirectoryConnection(ConnectionType, String, String, Boolean, String, String, SecureString, List<DirectoryServiceNamingContext>, String, String, String)

Adds an Active Directory connection for the current service context.

public:
 Microsoft::Office::Server::UserProfiles::DirectoryServiceConnection ^ AddActiveDirectoryConnection(Microsoft::Office::Server::UserProfiles::ConnectionType type, System::String ^ displayName, System::String ^ server, bool useSSL, System::String ^ accountDomain, System::String ^ accountUsername, System::Security::SecureString ^ accountPassword, System::Collections::Generic::List<Microsoft::Office::Server::UserProfiles::DirectoryServiceNamingContext ^> ^ namingContexts, System::String ^ spsClaimProviderTypeValue, System::String ^ spsClaimProviderIdValue, System::String ^ adClaimIDMapAttribute);
public Microsoft.Office.Server.UserProfiles.DirectoryServiceConnection AddActiveDirectoryConnection (Microsoft.Office.Server.UserProfiles.ConnectionType type, string displayName, string server, bool useSSL, string accountDomain, string accountUsername, System.Security.SecureString accountPassword, System.Collections.Generic.List<Microsoft.Office.Server.UserProfiles.DirectoryServiceNamingContext> namingContexts, string spsClaimProviderTypeValue, string spsClaimProviderIdValue, string adClaimIDMapAttribute);
Public Function AddActiveDirectoryConnection (type As ConnectionType, displayName As String, server As String, useSSL As Boolean, accountDomain As String, accountUsername As String, accountPassword As SecureString, namingContexts As List(Of DirectoryServiceNamingContext), spsClaimProviderTypeValue As String, spsClaimProviderIdValue As String, adClaimIDMapAttribute As String) As DirectoryServiceConnection
Parameters
type
ConnectionType ConnectionType ConnectionType

An enumeration value that specifies the connection type.

displayName
String String String

The display name of the connection.

server
String String String

The server associated with the connection.

useSSL
Boolean Boolean Boolean

true to use SSL encryption for the connection; otherwise, false.

accountDomain
String String String

The domain name associated with the connection credentials.

accountUsername
String String String

The user name associated with the connection credentials.

accountPassword
SecureString SecureString SecureString

The user password associated with the connection credentials.

namingContexts
List<DirectoryServiceNamingContext>

The directory service naming contexts associated with the connection.

spsClaimProviderTypeValue
String String String

The type for the claims provider definition.

spsClaimProviderIdValue
String String String

The ID of the claims provider for SharePoint Server.

adClaimIDMapAttribute
String String String

The claim ID map attribute for Active Directory.

Returns

The Active Directory connection for the current service context.

Exceptions

The service context already has a connection with the same name as displayName.

Remarks

This method adds an Active Directory connection for the current service context. See User profile property data typesConnection filter data types and operators

Applies to