473,396 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Should I use a Role or Personalization

We have a time and project tracking system. In short, only certain
users will be entering time, while everyone has access to the project
listing side of things. I need to make sure those who enter time
actually have entered it for each week... sooo..... how would you
suggest I track who enters time? Should I just create a role, named
"Timesheet users", for example, and place users in there, or should I
create a personalization property named "TimesheetUser" and flag each
user that way?

Does it matter?

Jun 26 '07 #1
2 1058
On Jun 26, 11:55 pm, Larry Bud <larrybud2...@yahoo.comwrote:
We have a time and project tracking system. In short, only certain
users will be entering time, while everyone has access to the project
listing side of things. I need to make sure those who enter time
actually have entered it for each week... sooo..... how would you
suggest I track who enters time? Should I just create a role, named
"Timesheet users", for example, and place users in there, or should I
create a personalization property named "TimesheetUser" and flag each
user that way?

Does it matter?
"AspnetRoleProvider is there already ..."
so better use it... just check with
System.Web.Security.Roles.IsUserInRole();
but depending your application design you can also you
personalization....
Jun 26 '07 #2
Ysgrifennodd Masudur:
"AspnetRoleProvider is there already ..."
so better use it... just check with
System.Web.Security.Roles.IsUserInRole();
but depending your application design you can also you
personalization....

I agree, although I use attributes rather than code wherever possible.
E.g. (taken at random from what's currently open in Konq file explorer):

[PrincipalPermission(SecurityAction.Demand, Authenticated=true,
Role="admin")]
protected void Page_Load(object sender, EventArgs e)
{
...
}
Peter
Jun 26 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Danny Tuppeny | last post by:
Hi all, I'm after some advice... I'm building a website which will have a login etc.. The Personalization in asp.net 2 stuff looks like it'll save me some time (login controls etc.), however,...
9
by: SlimFlem | last post by:
Is this possible? My entire web site is being built dynamically using WebPart's and a lot of it will be anonymous. How do I load these parts dynamically using WebPartManager.AddWebPart() and not...
0
by: Anonieko | last post by:
Scenario: Web Parts features (like design mode) require the user to be authenticated and registered. But what if you don't want the users to go through registration but still enable...
2
by: bradgatewood | last post by:
I am in the process of developing a highly customizable application and I'm looking for a way to allow personalization by role. This is different than shared scope in the fact that I want to allow...
1
by: Ya Ya | last post by:
I am using the personalization feature in asp.net 2.0 I am storing the phone number for each user. When a certain user enters his phone number I would like to check if another user already...
0
by: arthernan | last post by:
I have an almost finished page that uses webparts. And this is the expected functionality. A logged on user hits a button and the button opens a WebPart. Then te user logs off, next time he logs on...
2
by: arthernan | last post by:
I have an almost finished page that uses webparts. And this is the expected functionality. A logged on user hits a button and the button opens a WebPart. Then the user logs off, next time he logs...
2
by: Roger23 | last post by:
I have a requirement where I need to remove or disable the entire personalization feature of my web application. I am not allowed to have a SQL express on my web server and I am not allowed to have...
0
by: Bei | last post by:
Now I'm facing a requirement that every users can personalize their own web parts, and there is a administrator who has rights 1, to publish a 'personalization' of a single web part to all users in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.