Get Redirection Url based on Http Context and Portal Id.

Namespace: DotNetNuke.Services.Mobile
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public string GetRedirectUrl(
	string userAgent,
	int portalId,
	int currentTabId
)
Visual Basic
Public Function GetRedirectUrl ( 
	userAgent As String,
	portalId As Integer,
	currentTabId As Integer
) As String

Parameters

userAgent
Type: System..::..String
User Agent - used for client capability detection.
portalId
Type: System..::..Int32
Portal Id from which Redirection Rules should be applied.
currentTabId
Type: System..::..Int32
Current Tab Id that needs to be evaluated.

Return Value

string - Empty if redirection rules are not defined or no match found

Implements

IRedirectionController..::..GetRedirectUrl(String, Int32, Int32)

See Also