다음을 통해 공유


LdapDirectoryConnection.SetCredentials Method

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

Syntax

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

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

Parameters

See Also

Reference

LdapDirectoryConnection Class

LdapDirectoryConnection Members

Microsoft.Office.Server.UserProfiles Namespace