+1-888-365-2779
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
    Registered:
    09 Jul 2013
    15 Jul 2015
    Link to this post

    Hello

    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

    Frederic

  2. Velizar Bishurov
    Velizar Bishurov avatar
    143 posts
    Registered:
    01 Dec 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.

    Regards,
    Velizar Bishurov
    Telerik
     
    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