|
Hi all,
how do i implement Heirarchical role(Group With Roles)
(For Eg.Admin,Marketing Etc) Which can have Additional roles (role1,Role2 etc..)with ACL(Insert,Update,Delete) Same as Unix.
The Role Should populate both from group and user.
I am not sure whether current role based security will work in this scenario.
If any other suggestion please let me know.
Tejesh
|
|
|
|
|
Where are you maintaining the Role ? You want to maintain it in Database itself or you are using Active Directory for user authentication ?
|
|
|
|
|
I want to Maintain Roles in Database
|
|
|
|
|
Can SomeBuddy Please Explain How to maintain roles at user and group level using Sql server Database.Can Role Management be extended to achieve this.
Is there any other alternative to this.
Tejesh
|
|
|
|
|
hi, I have problem when create crystal report in web site.. could someone please help me with this... sample code in window application as below
CrystalReport1.Formulas(1) = "ReportName='Customer Master Listing'"
CrystalReport1.Formulas(2) = "fmlOrganisation=" & (strOrg)
CrystalReport1.Formulas(3) = "RptDate = '" & Format(Now(), "dd/mm/yyyy hh:mm:ss") & "'"
I just wan these code work well in asp.net. please help!
|
|
|
|
|
What is your problem exactly ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi Christian Graus,
I'm using vs2008 trial version, i copied the 3 lines code in vs2008 trial version but errors come out -
"Formulas is not member of crystaldecision.crystalreport.engine.reportdocument.
waiting for ur advise. thanks
|
|
|
|
|
I would guess that you don't have the right references, or you don't have a full version of Crystal Reports.
Did you read the docs to see where Formulas should exist ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
would u mind to provide me link to get some doc related formulas.
|
|
|
|
|
try this..!
CrystalReportViewer1.SelectionFormula = "{TableName.Columnname}='" + DropDownList1.SelectedItem.Text + " ' and {TableName.Columnname}='" + DropDownList2.SelectedItem.Text + " ' ";
CrystalReportViewer1.RefreshReport();
^]
modified on Thursday, October 8, 2009 2:10 AM
|
|
|
|
|
Hi ,
i make administration web page to my site where i make permissions to all users but in the page level i want to control in some contents in the page , for example the edit button appear to admin but not appear in normal user .
i know the general idea but i can not do it:
==============================
Then you can identify as part of the Page_Load event on any page whether a user has logged in or not, and what their roles are (administrator, guest etc).
If their role is administrator and you have your 'edit' button as an asp.net control you can make it visible in the Page_Load event.
All the best,
I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that.
--------------------------------
Discover Other ....
http://www.islamHouse.com
|
|
|
|
|
How do you track users at all ? You should do it with some sort of session variables, then you can check that where-ever you are. However, I'd write a class that checks the session and just returns the admin settings. Either as part of a base page, or in a class that the base page contains.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Can i find any article that talk about this ?
I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that.
--------------------------------
Discover Other ....
http://www.islamHouse.com
|
|
|
|
|
I'm sure you can, but I don't know any off hand.
The core question is - how are you tracking who is logged in, and what their permissions are ? Do you store it all in the session, or, do you store an id in the session and use that id to read permissions from the DB ? Either way, you need to write some code that gives you access to that information in the code that decides what gets rendered on your page.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
i am depend on the membership provider that are ready in 2005
I hope to serve my religion (Islam) as much as possible and exert the effort in order to be a good model desire to achieve renaissance to our country. This mean that I would be one of the Geniuses in practical if Allah wishes. I think my Ambition will help me to do that.
--------------------------------
Discover Other ....
http://www.islamHouse.com
|
|
|
|
|
OK - then you need to work out how that works, or what it gives you to work out membership and see how you can integrate that so you can access it across your site.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Example:-
i have citypage(aspx) in that one label(city ID) and textbox,i have another aspx page(customer page)i want reuse city page control(label,textbox) in customer page and when control will display in customer page,i want to rename label city ID to customer ID.
|
|
|
|
|
You should use your original post instead of creating a new thread everytime.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
You are a retard. Don't post your questons over and over, stick to one thread.
If you want to rename the control, then you need to use a new control. In fact, if all you have is a label and a textbox, the whole question is just plain idiotic. Two controls. Just put them on each form and name them what you want.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I have created one page(aspx) in that page there is textbox,label,button.,i want that control(textbox,..,..)on another page(like inheritd from one page(aspx) to another page(aspx))and also i want edit that control on inherited page
|
|
|
|
|
Ignore repost
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I have created one page(aspx) in that page there is textbox,label,button.,i want that control(textbox,..,..)on another page(like inheritd from one page(aspx) to another page(aspx))
|
|
|
|
|
You should create a user control [^]instead.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
but i wnt edit that control.
|
|
|
|
|
You appear to be clueless. What do you mean, you want to edit it ? The logical way to get the same group of controls onto two pages, is master pages, or a user control.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|