FormsAuthenticationControl.Initialize Method
Initializes the forms authentication logon control.
Namespace: Microsoft.Office.Server.Search.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub Initialize ( _
loginPageUri As Uri, _
authSubmissionMethod As String, _
authSubmissionPath As String, _
publicInputs As NameValueCollection, _
privateInputs As NameValueCollection, _
cookies As StringCollection, _
lastModified As DateTime _
)
'Usage
Dim instance As FormsAuthenticationControl
Dim loginPageUri As Uri
Dim authSubmissionMethod As String
Dim authSubmissionPath As String
Dim publicInputs As NameValueCollection
Dim privateInputs As NameValueCollection
Dim cookies As StringCollection
Dim lastModified As DateTime
instance.Initialize(loginPageUri, authSubmissionMethod, _
authSubmissionPath, publicInputs, _
privateInputs, cookies, lastModified)
public void Initialize(
Uri loginPageUri,
string authSubmissionMethod,
string authSubmissionPath,
NameValueCollection publicInputs,
NameValueCollection privateInputs,
StringCollection cookies,
DateTime lastModified
)
Parameters
- loginPageUri
Type: System.Uri
The URL for the forms logon page.
- authSubmissionMethod
Type: System.String
The request method for the forms logon page.
- authSubmissionPath
Type: System.String
The URL that the forms logon page is submitted to.
- publicInputs
Type: System.Collections.Specialized.NameValueCollection
A collection of name/value pairs that represent the logon page input.
- privateInputs
Type: System.Collections.Specialized.NameValueCollection
A collection of name/value pairs stored as SecureString values that represent the logon page input.
- cookies
Type: System.Collections.Specialized.StringCollection
A CookieCollection object containing the forms authentication cookies.
- lastModified
Type: System.DateTime
See Also
Reference
FormsAuthenticationControl Class