Get Redirection Url based on Http Context and Portal Id.
Namespace: DotNetNuke.Services.MobileAssembly: 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.