0
votes

I want to develop a external application (in android) to use some services made in dnn 7 service framework, but I want only valid users to use them so I want to first of all authenticate them. I am a noob in authentication with dnn and I couldn't find anything that a can understand. How I can achieve this, is there any example that I can follow?

Thank you

1

1 Answers

0
votes

Basically you just add [DnnAuthorize(StaticRoles="Administrators")] just before the method you want to protect. I ran into the same problem and if you want to learn a bit on how to build your own webservice using the DotNetNuke framework, you can read this blog post I made that is kind of a walkthrough to getting to know the DNN 7 Services Framework.