Posted on 02/11/2016 16:53:37
Hi Imar
In Dynamicweb 9, the Groups and Users are placed in the Dynamicweb.Security.dll which is one of the lower level application services seperated from the Dynamicweb.dll where the items resides. Therefore the Dynamicweb.Security.dll does not have a reference to Dynamicweb where the items are located and cannot return things from there. This is an architectual issue. Of course Item should be of a lower level abstraction with the actual implementation higher in the stack (i.e. an IItem interface). But it is not...
So for now, do this:
Dynamicweb.Content.Items.ItemManager.Storage.GetById(type, id)
So that is how you need to do it for now.
BR Nicolai