[DnnAuthorize(StaticRoles="Administrators")]

Jan 7, 2013 at 7:19 PM

Hey Bruce nice project and presentation on youtube!

I'm having a bit of trouble getting authentication to work in your example. All of the anonymous functions work to our site, but no matter what credentials are supplied I get;

{"Message":"Authorization has been denied for this request."}

 

 

<TITLE>401 Unauthorized</TITLE>

</HEAD>

<BODY>

Unauthorized

Access is denied due to invalid credentials.

All we really need is to know if username:pw is in a given role True/False. ..... but no joy. Can you suggest?

 Thanks

 Rich