CookiesAuthenticationControl.Initialize Method
Initializes the cookies 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, _
cookies As StringCollection, _
errorPages As StringCollection, _
lastModified As DateTime _
)
'Usage
Dim instance As CookiesAuthenticationControl
Dim loginPageUri As Uri
Dim authSubmissionMethod As String
Dim authSubmissionPath As String
Dim cookies As StringCollection
Dim errorPages As StringCollection
Dim lastModified As DateTime
instance.Initialize(loginPageUri, authSubmissionMethod, _
authSubmissionPath, cookies, errorPages, _
lastModified)
public void Initialize(
Uri loginPageUri,
string authSubmissionMethod,
string authSubmissionPath,
StringCollection cookies,
StringCollection errorPages,
DateTime lastModified
)
Parameters
- loginPageUri
Type: System.Uri
The URL for the cookie 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.
- cookies
Type: System.Collections.Specialized.StringCollection
A CookieCollection object containing the authentication cookies.
- errorPages
Type: System.Collections.Specialized.StringCollection
A collection of strings that represent error pages for the cookie logon.
- lastModified
Type: System.DateTime
A DateTime value that specifies when the cookie logon data was last modified.
See Also
Reference
CookiesAuthenticationControl Class