none
security triming in caml query

    Question

  • hi,

    When we run an enterprise search the query processor retrieves the result and then triming it with the security trimming, does the same triming is used in a CAML search ? do we call the Query Processor in a caml search ?

    Tuesday, March 06, 2012 2:53 PM

Answers

  • Yes, all CAML queries are security trimmed. SharePoint contains abstract database layer that processes your CAML queries, performs the security trimming and deals with caching.

    Sasa Tomicic
    MCPD: Shpt Dev 2010, MCITP: Shpt Admin 2010, MCPD: Win Dev 4
    My blog: Share(d)Point of View

    Please remember to click 'Mark as Answer' on the post that helps you or click 'Unmark as Answer' if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, March 06, 2012 5:19 PM

All replies

  • Yes, all CAML queries are security trimmed. SharePoint contains abstract database layer that processes your CAML queries, performs the security trimming and deals with caching.

    Sasa Tomicic
    MCPD: Shpt Dev 2010, MCITP: Shpt Admin 2010, MCPD: Win Dev 4
    My blog: Share(d)Point of View

    Please remember to click 'Mark as Answer' on the post that helps you or click 'Unmark as Answer' if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, March 06, 2012 5:19 PM
  • hi Sasa, thanks for your answer.

    there's alot of good articles about enterprise search architecture, can u recommend any for CAML ?

    Wednesday, March 07, 2012 7:14 AM
  • is there a way to disable or override security trimming temporarily?

    (something similar like implementing ISecurityTrimmer for enterprise search results)

    Monday, December 10, 2012 4:01 PM