SavedFilterRegisterReqFilterUrl Method |
Register a filter clause for use in a URL's flt parameter. Registration will cause a
SavedFilter to be created and written to the database. The method
returns a filter spec that can be included in a URL without risk of a SQL injection attack.
Filters created using this overload will always be marked as Temp with a default expiration
and will be restricted to the current user.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntaxpublic static string RegisterReqFilterUrl(
IAppContext cxt,
string filter,
string name,
string description,
string mop
)
Public Shared Function RegisterReqFilterUrl (
cxt As IAppContext,
filter As String,
name As String,
description As String,
mop As String
) As String
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - filter
- Type: SystemString
The filter clause. - name
- Type: SystemString
The name of the filter, optional. - description
- Type: SystemString
The description of the filter, optional. - mop
- Type: SystemString
The MOP to which this filter applies, optional, but recommended for enhanced security.
Return Value
Type:
StringThe filter spec suitable for use in a URL flt parameter and already escaped.
See Also