More in this section
Forums / General Discussions / Programmatically Login admin user

Programmatically Login admin user

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Varinder Kumar
    Varinder Kumar avatar
    15 posts
    13 Apr 2010
    14 Aug 2010
    Link to this post
    Hello All,

    I am using Sitefinity 4.0 SDK for creating Pages/Users/Events/Roles/etc., but for everything I should have the permissions.  So is it possible that before doing anything, we can login as admin and after we can perform any task which needs the permissions.

    Varinder Kumar
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    15 Aug 2010
    Link to this post
    Hi Varinder Kumar,

    Anonymous users cannot create objects. When you are not logged in, you are anonymous user. You can set SuppressSecurityChecks to true for the provider you are working with or grant access to the Anonymous users from backend - Settings >> Permissions.

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered