IIdentityPermissionFactory

IIdentityPermissionFactory

System.Security.Policy (mscorlib.dll)interface
public interface IIdentityPermissionFactory {
// Public Instance Methods
   public IPermission CreateIdentityPermission(Evidence evidence);
}

During security policy resolution, host evidence objects that implement the IIdentityPermissionFactory result in an identity permission of the appropriate type being included in the grant set of the assembly or application domain that presents the evidence. The runtime calls the CreateIdentityPermission( ) method of the evidence object, which returns a System.Security.IPermission object of the appropriate type. The evidence objects that implement IIdentityPermissionFactory are Publisher, Site, StrongName, Url, and Zone.

Implemented By

Publisher, Site, StrongName, Url, Zone



    Part V: API Quick Reference