Share via


AccountAuthCredentials.SecurePassword property

Gets or sets a secure 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 SecurePassword As SecureString
    Get
    Set
'Usage
Dim instance As AccountAuthCredentials
Dim value As SecureString

value = instance.SecurePassword

instance.SecurePassword = value
public SecureString SecurePassword { get; set; }

Property value

Type: System.Security.SecureString
A System.Security.SecureString 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 [Enterprise Search]