Share via


AccountAuthCredentials.Password Property

Gets or sets a string containing the password.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property Password As String
    Get
    Set
'Usage
Dim instance As AccountAuthCredentials
Dim value As String

value = instance.Password

instance.Password = value
public string Password { get; set; }

Property Value

Type: System.String
A string representing the password.

Remarks

You can specify a password for the account credentials by using either the SecurePassword property or the Password property. The primary difference between the two properties is that you must pass a System.Security.SecureString value to the SecurePassword property, however there is no difference in how Enterprise Search in Microsoft Office SharePoint Server 2007 actually stores the specified value; they are both stored as System.Security.SecureString values.

See Also

Reference

AccountAuthCredentials Class

AccountAuthCredentials Members

Microsoft.Office.Server.Search.Administration Namespace

LocationConfiguration

Other Resources

Federated Search Overview