SAPermission members

Public constructors
Member name Description

SAPermission constructor

Initializes a new instance of the SAPermission class.

Public properties
Member name Description

[external link] AllowBlankPassword (inherited from DBDataPermission)

Gets a value indicating whether a blank password is allowed.

Public methods
Member name Description

[external link] Add (inherited from DBDataPermission)

Adds access for the specified connection string to the existing state of the DBDataPermission.

[external link] Assert (inherited from CodeAccessPermission)

Declares that the calling code can access the resource protected by a permission demand through the code that calls this method, even if callers higher in the stack have not been granted permission to access the resource. Using [external link] CodeAccessPermission.Assert can create security issues.

[external link] Copy (inherited from DBDataPermission)

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

[external link] Demand (inherited from CodeAccessPermission)

Forces a [external link] SecurityException at run time if all callers higher in the call stack have not been granted the permission specified by the current instance.

[external link] Deny (inherited from CodeAccessPermission)

Prevents callers higher in the call stack from using the code that calls this method to access the resource specified by the current instance.

[external link] Equals (inherited from CodeAccessPermission)

Determines whether the specified [external link] CodeAccessPermission object is equal to the current [external link] CodeAccessPermission.

[external link] FromXml (inherited from DBDataPermission)

Reconstructs a security object with a specified state from an XML encoding.

[external link] GetHashCode (inherited from CodeAccessPermission)

Gets a hash code for the [external link] CodeAccessPermission object that is suitable for use in hashing algorithms and data structures such as a hash table.

[external link] Intersect (inherited from DBDataPermission)

Returns a new permission object representing the intersection of the current permission object and the specified permission object.

[external link] IsSubsetOf (inherited from DBDataPermission)

Returns a value indicating whether the current permission object is a subset of the specified permission object.

[external link] IsUnrestricted (inherited from DBDataPermission)

Returns a value indicating whether the permission can be represented as unrestricted without any knowledge of the permission semantics.

[external link] PermitOnly (inherited from CodeAccessPermission)

Prevents callers higher in the call stack from using the code that calls this method to access all resources except for the resource specified by the current instance.

[external link] ToString (inherited from CodeAccessPermission)

Creates and returns a string representation of the current permission object.

[external link] ToXml (inherited from DBDataPermission)

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

[external link] Union (inherited from DBDataPermission)

Returns a new permission object that is the union of the current and specified permission objects.

See also