Where to access Telerik.Sitefinity.Security.Model namespace

Posted by Community Admin on 03-Aug-2018 15:13

Where to access Telerik.Sitefinity.Security.Model namespace in Sitefinity 8.1

All Replies

Posted by Community Admin on 28-Sep-2015 00:00

I'm trying to follow this code to allow users to be created programmatically: docs.sitefinity.com/for-developers-create-users .

I'm using a .NET 4.5 project and I believe I'm using the proper Telerik references (Telerik.Sitefinity.dll)

When I try to use the namespace Telerik.Sitefinity.Security.Model it cannot located "Model".  Namespace "Telerik.Sitefinity.Security" is fine.  

 I'm assuming that because of this, VS 2013 is not able to find the class for "User" in line 21 and cannot fine the SitefinityProfile class in line 25.  

Any suggestions as to what I may be doing wrong? Thanks!

Posted by Community Admin on 28-Sep-2015 00:00

I figured it out.  I needed to add Telerik.OpenAccess and Telerik.Sitefinity.Model references to the project.  Then I saw able to access Telerik.Sitefinity.Security.Model.  

This thread is closed