Gets or sets the zone represented by the current identity permission object.
[Visual Basic] Public Property SecurityZone As SecurityZone [C#] public SecurityZone SecurityZone {get; set;} [C++] public: __property SecurityZone get_SecurityZone(); public: __property void set_SecurityZone(SecurityZone); [JScript] public function get SecurityZone() : SecurityZone; public function set SecurityZone(SecurityZone);
Integer specifying the zone corresponding to the identity permission.
0 | URLZONE_LOCAL_MACHINE | Zone used for content already on the user's local computer. |
---|---|---|
1 | URLZONE_INTRANET | Zone used for content found on an intranet. |
2 | URLZONE_TRUSTED | Zone used for trusted Web sites on the Internet. |
3 | URLZONE_INTERNET | Zone used for most of the content on the Internet. |
4 | URLZONE_UNTRUSTED | Zone used for Web sites that are not trusted. |
ZoneIdentityPermission Class | ZoneIdentityPermission Members | System.Security.Permissions Namespace