More in this section

Forums / General Discussions / How to check module permissions in code

How to check module permissions in code

1 posts, 0 answered
  1. Diyan
    Diyan avatar
    3 posts
    23 Oct 2012
    12 Sep 2012
    Link to this post
    Hi all

    I need a little help :). Sitefinity allows to create Dynamic modules and Content types. In Administration->Permission these modules appear in the left side and then Admin can decide who can modify, create and ect.  My question is how can I check does current user has create permissions for these module, but I want to do it in Code. I saw that if my module is called Car and for example Content type has name Lada in security config there is permissions for Car-Lada. But if i have many contents it is not relevant to check each when the permission is specified for Module Car. Also here found a way but it not works for DynamicManager. Hope that You will help me :)
1 posts, 0 answered