다음을 통해 공유


ActiveDirectoryConnection.SetCredentials Method

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

Syntax

'Declaration
Public Sub SetCredentials ( _
    domain As String, _
    username As String, _
    password As SecureString _
)
'Usage
Dim instance As ActiveDirectoryConnection
Dim domain As String
Dim username As String
Dim password As SecureString

instance.SetCredentials(domain, username, _
    password)
public void SetCredentials(
    string domain,
    string username,
    SecureString password
)

Parameters

See Also

Reference

ActiveDirectoryConnection Class

ActiveDirectoryConnection Members

Microsoft.Office.Server.UserProfiles Namespace