Authorization error

Posted by Community Admin on 03-Aug-2018 04:16

Authorization error

All Replies

Posted by Community Admin on 01-Mar-2011 00:00

Hi,

I wrote a web service which uses fluent api which imports an xml feed into blog posts. However, it turns out that I didn't account for permission issues. I am now seeing this message:

You are not authorized to 'Modify classification and manage classification items' ('Taxonomies').

Any ideas how this can be bypassed?

Thanks,

Roland

Posted by Community Admin on 01-Mar-2011 00:00

This is a bit weird, but I figured it out by chance.

Credentials creds = new Credentials();
creds.UserName = "admin";
creds.Password = "admin";
creds.MembershipProvider = UserManager.GetDefaultProviderName();
 
UserLoggingReason result = SecurityManager.AuthenticateUser(creds);

Posted by Community Admin on 01-Mar-2011 00:00

Hi Roland,

You might find this post useful.  It provides sample code that shows how to authenticate a user through Users service.

Kind regards,
Ivan Dimitrov
the Telerik team

Posted by Community Admin on 24-Jul-2012 00:00

Link is broken BTW.

Posted by Community Admin on 24-Jul-2012 00:00

Link is broken BTW.

Posted by Community Admin on 25-Jul-2012 00:00

Hello Wagner,

Here is the updated link to the thread:

www.sitefinity.com/.../sitefinity-4-0-rc-integration-with-silverlight-existing-project.aspx

Regards,
Victor Velev
the Telerik team

Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed