Publisher.CreateIdentityPermission(Evidence) Method

Definition

Creates an identity permission that corresponds to the current instance of the Publisher class.

public:
 virtual System::Security::IPermission ^ CreateIdentityPermission(System::Security::Policy::Evidence ^ evidence);
public System.Security.IPermission CreateIdentityPermission (System.Security.Policy.Evidence evidence);
abstract member CreateIdentityPermission : System.Security.Policy.Evidence -> System.Security.IPermission
override this.CreateIdentityPermission : System.Security.Policy.Evidence -> System.Security.IPermission
Public Function CreateIdentityPermission (evidence As Evidence) As IPermission

Parameters

evidence
Evidence

The Evidence from which to construct the identity permission.

Returns

A PublisherIdentityPermission for the specified Publisher.

Implements

Applies to