More in this section

Forums / Developing with Sitefinity / Problem assigning roles to album

Problem assigning roles to album

1 posts, 0 answered
  1. Allan
    Allan avatar
    0 posts
    01 Jul 2015
    09 Dec 2016
    Link to this post


    I tried to set permission to an album inside a library but it is not working. Just a simple code below breaking the inheritance is also not working. Does anyone know what is wrong?

    public void SetPermissionForImageLibrary(Guid albumId)
               var album = App.WorkWith().Album(albumId).Get();
               LibrariesManager manager = LibrariesManager.GetManager();

1 posts, 0 answered