FormsAuthCredentials Class
Represents an object that contains the forms authentication credentials for connecting to federated search locations.
Inheritance Hierarchy
System.Object
Microsoft.Office.Server.Search.Administration.AuthenticationData
Microsoft.Office.Server.Search.Administration.SecurableAuthData
Microsoft.Office.Server.Search.Administration.FormsAuthCredentials
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<DataContractAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class FormsAuthCredentials _
Inherits SecurableAuthData
'Usage
Dim instance As FormsAuthCredentials
[DataContractAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class FormsAuthCredentials : SecurableAuthData
Remarks
There are two classes that you can use to represent forms authentication data for federated search locations:
FormsAuthCredentials: Use this class when you programmatically configure federated locations.
FormsCredentials: Use this class in custom federated results Web Parts, when specifying credentials for federated locations that are configured for per user cookie-based authentication. For more information, see Creating a Custom Federated Search Web Part with a Credentials UI [Enterprise Search].
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.