Authorization error
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
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);
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
Link is broken BTW.
Link is broken BTW.
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