.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old February 25th, 2002, 12:52 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
IdentityPermission

<i><b>Originally posted by : Kerry Whelan (whelan_kerry@hotmail.com)</b></i><br />When using the identity permissions for declarative code access security I find that there are two overloaded methods for the constructor described in the msdn library, these methods are for permission states and for strings. <br /><br />public UrlIdentityPermission(PermissionState state);<br /><br />public UrlIdentityPermission(string site);<br /><br />When I attempt to code the permission (eg, UrlIdentityPermission) it requires a SecurityAction and says that the string constructor does not exist.<br /><br />Does anyone know why this is or how to specify a site address in the urlIdentityPermission?<br /><br />Thankyou,<br /><br />Kerry <br />

Reply With Quote
  #2  
Old February 26th, 2002, 11:12 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Greg (gregdirst@yahooNOSPAM.com)</b></i><br /><br />If you are using ASP then most likely it is due to the fact that VB Script doesn't understand overloading. A similar problem happens when ASP tries to create a object that has multiple interfaces. Both of these are limitations due to variables not being TYPES other than VARIANT.<br /><br />------------<br />Kerry Whelan at 2/25/2002 10:52:47 AM<br /><br />When using the identity permissions for declarative code access security I find that there are two overloaded methods for the constructor described in the msdn library, these methods are for permission states and for strings. <br /><br />public UrlIdentityPermission(PermissionState state);<br /><br />public UrlIdentityPermission(string site);<br /><br />When I attempt to code the permission (eg, UrlIdentityPermission) it requires a SecurityAction and says that the string constructor does not exist.<br /><br />Does anyone know why this is or how to specify a site address in the urlIdentityPermission?<br /><br />Thankyou,<br /><br />Kerry <br />

Reply With Quote
  #3  
Old February 26th, 2002, 11:38 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : Kerry Whelan (whelan_kerry@hotmail.com)</b></i><br />Thanks, <br /> I should have mentioned that I am using C#. As far as I know this type problem should not occur in C#. Have you any other ideas?<br /><br />Kerry<br /><br /><br />------------<br />Greg at 2/26/2002 9:12:08 AM<br /><br /><br />If you are using ASP then most likely it is due to the fact that VB Script doesn't understand overloading. A similar problem happens when ASP tries to create a object that has multiple interfaces. Both of these are limitations due to variables not being TYPES other than VARIANT.<br /><br />------------<br />Kerry Whelan at 2/25/2002 10:52:47 AM<br /><br />When using the identity permissions for declarative code access security I find that there are two overloaded methods for the constructor described in the msdn library, these methods are for permission states and for strings. <br /><br />public UrlIdentityPermission(PermissionState state);<br /><br />public UrlIdentityPermission(string site);<br /><br />When I attempt to code the permission (eg, UrlIdentityPermission) it requires a SecurityAction and says that the string constructor does not exist.<br /><br />Does anyone know why this is or how to specify a site address in the urlIdentityPermission?<br /><br />Thankyou,<br /><br />Kerry <br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > IdentityPermission


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway