Try Now
More in this section

Forums / Developing with Sitefinity / about "SuppressSecurityChecks = true" for fluent API

about "SuppressSecurityChecks = true" for fluent API

2 posts, 0 answered
  1. Frederic
    Frederic avatar
    1 posts
    09 Jul 2013
    15 Jul 2015
    Link to this post


    i'm completely new in sitefinity...i'm following the video tutorial by Peter Kinmond in wich he shows how to use normal and fluent API to create content... Unfortunately i always have some permissions issue ("...not allowed to create..."). I could overcome this problem in normal API using the following code:

    manager.Provider.SuppressSecurityChecks = true;​

    is there an equivalent of this code for the fluent API?

    thank you very much for your help


  2. Velizar Bishurov
    Velizar Bishurov avatar
    143 posts
    24 Oct 2016
    20 Jul 2015
    Link to this post
    Hello Frederic,

    The fluent API is a less potent alternative to the native API and thus does not support suppressing security checks. In order to use such functionality you will have to use the native API.

    Velizar Bishurov
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered