System.Security.Permissions (mscorlib.dll)sealed class
public sealed class SiteIdentityPermissionAttribute : CodeAccessSecurityAttribute {
// Public Constructors
   public SiteIdentityPermissionAttribute(SecurityAction action);
// Public Instance Properties
   public string Site{set; get; }
// Public Instance Methods
   public override IPermission CreatePermission(  );
// overrides SecurityAttribute

The SiteIdentityPermissionAttribute class provides declarative syntax support for the SiteIdentityPermission. Specify the web site represented by the SiteIdentityPermissionAttribute by assigning a System.String containing the web site name to the Site property.


System.Object System.Attribute SecurityAttribute CodeAccessSecurityAttribute SiteIdentityPermissionAttribute

Valid On

Assembly, Class, Struct, Constructor, Method

    Part V: API Quick Reference