This function applies security filtering to the UserInput string.

Namespace: DotNetNuke.Security
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public string InputFilter(
	string userInput,
	PortalSecurity..::..FilterFlag filterType
)
Visual Basic
Public Function InputFilter ( 
	userInput As String,
	filterType As PortalSecurity..::..FilterFlag
) As String

Parameters

userInput
Type: System..::..String
This is the string to be filtered
filterType
Type: DotNetNuke.Security..::..PortalSecurity..::..FilterFlag
Flags which designate the filters to be applied

Return Value

Filtered UserInput

See Also