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
- username
Type: System.String
- password
Type: System.Security.SecureString