This function applies security filtering to the UserInput string, and reports
whether the input string is valid.
Namespace: DotNetNuke.SecurityAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public bool ValidateInput( string userInput, PortalSecurity..::..FilterFlag filterType ) |
Visual Basic |
---|
Public Function ValidateInput ( userInput As String, filterType As PortalSecurity..::..FilterFlag ) As Boolean |
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