SecureStorePermission SecureStorePermission SecureStorePermission Class

Definition

Represents a custom permission that controls the ability to access Secure Store Service object model resources. This class cannot be inherited.

public ref class SecureStorePermission sealed : System::Security::CodeAccessPermission, System::Security::Permissions::IUnrestrictedPermission
public sealed class SecureStorePermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission
Public NotInheritable Class SecureStorePermission
Inherits CodeAccessPermission
Implements IUnrestrictedPermission
Inheritance
SecureStorePermissionSecureStorePermissionSecureStorePermission
Implements

Constructors

SecureStorePermission(PermissionState) SecureStorePermission(PermissionState) SecureStorePermission(PermissionState)

Initializes a new instance of the SecureStorePermission class.

Fields

Version Version Version

Specifies the version of the SecureStorePermission class.

Properties

Access Access Access

Gets or sets the level of access that this permission object has.

Methods

Copy() Copy() Copy()

Creates and returns an identical copy of the current permission object.

FromXml(SecurityElement) FromXml(SecurityElement) FromXml(SecurityElement)

Reconstructs a SecureStorePermission object from an XML encoding.

Intersect(IPermission) Intersect(IPermission) Intersect(IPermission)

Returns the logical intersection of two SecureStorePermission instances.

IsSubsetOf(IPermission) IsSubsetOf(IPermission) IsSubsetOf(IPermission)

Returns a value that indicates whether the current permission is a subset of the specified permission.

IsUnrestricted() IsUnrestricted() IsUnrestricted()

Returns a value that indicates whether the current instance of the permission has unrestricted access to the resources protected by the permission.

ToXml() ToXml() ToXml()

Creates an XML encoding of the permission object and its current state.

Union(IPermission) Union(IPermission) Union(IPermission)

Creates a permission that is the union of the current permission and the specified permission.

Applies to