+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Authorization error

Authorization error

6 posts, 0 answered
  1. Roland
    Roland avatar
    6 posts
    Registered:
    04 Feb 2011
    01 Mar 2011
    Link to this post
    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
  2. Roland
    Roland avatar
    6 posts
    Registered:
    04 Feb 2011
    01 Mar 2011
    Link to this post
    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);
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    01 Mar 2011
    Link to this post
    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
  4. Wagner
    Wagner avatar
    21 posts
    Registered:
    05 May 2011
    24 Jul 2012
    Link to this post
    Link is broken BTW.
  5. Wagner
    Wagner avatar
    21 posts
    Registered:
    05 May 2011
    24 Jul 2012
    Link to this post
    Link is broken BTW.
  6. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    25 Jul 2012
    Link to this post
    Hello Wagner,

    Here is the updated link to the thread:

    http://www.sitefinity.com/devnet/forums/sitefinity/general-discussions/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
6 posts, 0 answered