Mono Class Library: Overview

System.Security.PermissionSet: Method Members

The methods of System.Security.PermissionSet are listed below. For a list of all members, see the PermissionSet Members list.

See Also: Inherited members from System.Object

Public Methods

AddPermission(IPermission) : IPermission
Adds the specified System.Security.IPermission object to the current instance if that permission does not already exist in the current instance.
Assert()
Asserts that calling code can access the resources identified by the permissions contained in the current instance through the code that calls this method, even if callers have not been granted permission to access the resource.
ContainsNonCodeAccessPermissions() : bool
Documentation for this section has not yet been entered.
static
ConvertPermissionSet(string, byte[], string) : byte[]
Documentation for this section has not yet been entered.
Copy() : PermissionSet
Returns a new System.Security.PermissionSet containing copies of the objects in the current instance.
CopyTo(Array, int)
Copies the permission objects in the current instance to the specified location in the specified Array .
Demand()
Forces a System.Security.SecurityException if all callers do not have the permissions specified by the objects contained in the current instance.
Deny()
Denies access to the resources secured by the objects contained in the current instance through the code that calls this method.
override
Equals(object) : bool
Documentation for this section has not yet been entered.
FromXml(SecurityElement)
Reconstructs the state of a System.Security.PermissionSet object using the specified XML encoding.
GetEnumerator() : IEnumerator
Returns an enumerator used to iterate over the permissions in the current instance.
override
GetHashCode() : int
Documentation for this section has not yet been entered.
GetPermission(Type) : IPermission
Documentation for this section has not yet been entered.
Intersect(PermissionSet) : PermissionSet
Documentation for this section has not yet been entered.
IsEmpty() : bool
Documentation for this section has not yet been entered.
IsSubsetOf(PermissionSet) : bool
Determines whether the current instance is a subset of the specified object.
IsUnrestricted() : bool
Documentation for this section has not yet been entered.
PermitOnly()
Specifies that only the resources described by the current instance can be accessed by calling code, even if the code has been granted permission to access other resources.
RemovePermission(Type) : IPermission
Documentation for this section has not yet been entered.
static
RevertAssert()
Documentation for this section has not yet been entered.
SetPermission(IPermission) : IPermission
Documentation for this section has not yet been entered.
override
ToString() : string
Returns a string representation of the state of the current instance.
ToXml() : SecurityElement
Returns the XML encoding of the current instance.
Union(PermissionSet) : PermissionSet
Returns a System.Security.PermissionSet object that is the union of the current instance and the specified object.