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

Forums / General Discussions / Users Roles

Users Roles

4 posts, 0 answered
  1. Pik Lee
    Pik Lee avatar
    142 posts
    Registered:
    13 Aug 2012
    24 Feb 2010
    Link to this post
    In sitefinity, there are 2 roles available by default, "All Authenticated Clients"  and "everyone". What is the difference between those 2?

    Thanks,
    Pik
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    24 Feb 2010
    Link to this post
    Hi Pik Lee,

    "All Authenticated Clients" role is not part of the default installation of Sitefinity.

    "everyone" role is part of the default installation of Sitefinity. Permissions that are set to this role applies to all other roles that has been created by an user. If you have three roles A, B, C and you set View permissions for Everyone role, this permission "view" will be set to A, B, C. Note that administrators role and all other built-in roles remain unaffected.

    Greetings,
    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.
  3. Pik Lee
    Pik Lee avatar
    142 posts
    Registered:
    13 Aug 2012
    25 Feb 2010
    Link to this post
    Is all user I've created in sitefinity automatically assigned to "everyone" role? For those pages I want all "log in" user to view, does it necessary to assign "everyone" role to view? Or it automatically let all "log in" users to view it?

    Thanks,
    Pik
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    25 Feb 2010
    Link to this post
    Hi Pik Lee,

    The users you create are not authiomatically assigned to any role if unless you are doing this programmatically.
    You can go through your pages and set View permission for the role you would like.

    You can set the permissions programmatically using SetPermissions method of ISecured object

    ISecured secured = page as ISecured;
    secured.SetPermissions(perm.Grant, perm.Deny, "SomeRole");


    Regards,
    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.
Register for webinar
4 posts, 0 answered