# AgentSecurityField

For Boolean agent searches of secure documents, use this parameter to specify which field in the stored Boolean agent contains the SecurityInfo to apply to documents that match against the agents.

If you use this parameter, you must also use the AgentBooleanField and TextParse parameters. The TextParse document that you supply can contain an ACL field and a `SecurityType` field, configured as usual.

NOTE: Before indexing Boolean agents, you must index a dummy document that contains any ACL and `SecurityType` fields, as well as any AgentBoolean and FieldText fields, that your TextParse documents have. For example:

    #DREREFERENCE dummy
    #DREFIELD SECURITYTYPE=""
    #DREFIELD AUTONOMYMETADATA=""
    #DRECONTENT
    #DREENDDOC

The fields can be empty to ensure that the dummy document is never matched, or you can delete the dummy document from the database after indexing.

Actions: | Query
Type: | String
Default: |
Example: | `AgentSecurityField=MySecurityField`
See Also: | AgentBooleanField SecurityInfo TextParse

_FT_HTML5_bannerTitle.htm