CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Form permission property

Print topic Send  topic

Author Message
eallen

Posts: 25
Posted: 03/11/2004, 4:02 PM

Is there a way to determine at run-time the restrictions on a form, that is, what is the security group ID allowed access, delete, update etc. if restricted is set to "yes"?

thanks in advance
View profile  Send private message
peterr


Posts: 5971
Posted: 03/11/2004, 5:23 PM

No. This is a constant that never changes and there should not be a need to check it. In other words, if you specify that only GroupID "2" can access the page then this is what it is. In other words, determining the restrictions would always return "2" therefore there is nothing to determine.
Though possiby I misunderstood your question. It could be best if you view the generated code for the page and search for "CCSecurityAccessCheck" (in ASP). You will see there the exact restrictions assigned to the form. Those restrictions never change.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
eallen

Posts: 25
Posted: 03/11/2004, 6:37 PM

I don't want to change the property, I want to test it to see what the value is.

The way to test the property is what I was looking for. Can I use the CCSecurityAccessCheck in event code to make a similar test or is that restricted? If so, what event would be the best to use to check this as earlier as possible?

TIA
View profile  Send private message
peterr


Posts: 5971
Posted: 03/11/2004, 7:57 PM

Hi,
I understand that you don't want to change the property. In my answer above I was trying to explain why there is no need to check its value. Basically, there is never a need to check the value of a constant because it is constant...
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
peterr


Posts: 5971
Posted: 03/11/2004, 8:00 PM

BTW, I was referring to the fact that you can manually find CCSecurityAccessCheck in the generated code and see the values right there. There is no need to use an event for this or do this at run-time. Since the value is constant it will be the same at run-time as at the design-time.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.