SPFederationAuthenticationModule.GetReturnUrlFromResponse Method
Retrieves the resource from the request to which a successful sign-in is redirected.
Namespace: Microsoft.SharePoint.IdentityModel
Assembly: Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)
Syntax
'Declaration
Protected Overrides Function GetReturnUrlFromResponse ( _
request As HttpRequest _
) As String
'Usage
Dim request As HttpRequest
Dim returnValue As String
returnValue = Me.GetReturnUrlFromResponse(request)
protected override string GetReturnUrlFromResponse(
HttpRequest request
)
Parameters
request
Type: System.Web.HttpRequestThe HTTP request.
Return Value
Type: System.String
The resource to which a successful sign-in is redirected.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | request is null . |
Remarks
This method returns the value of request.Form["wctx"].
See Also
Reference
SPFederationAuthenticationModule Class