Defines a permission set that has a name and description associated with it. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
Initializes a new instance of theclass from another named permission set.
Initializes a new, empty instance of theclass with the specified name.
Initializes a new instance of theclass with the specified name from a permission set.
Initializes a new instance of theclass with the specified name in either an unrestricted or a fully restricted state.
Gets the number of permission objects contained in the permission set.(Inherited from PermissionSet.)
Gets or sets the text description of the current named permission set.
Gets a value indicating whether the collection is read-only.(Inherited from PermissionSet.)
Gets a value indicating whether the collection is guaranteed to be thread safe.(Inherited from PermissionSet.)
Gets or sets the name of the current named permission set.
Gets the root object of the current collection.(Inherited from PermissionSet.)
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 Assert can create security vulnerabilities.(Inherited from PermissionSet.)
Creates a permission set copy from a named permission set.(Overrides PermissionSet.Copy().)
Creates a copy of the named permission set with a different name but the same permissions.
Determines whether the specified PermissionSet.Equals(Object).)object is equal to the current .(Overrides
Reconstructs a named permission set with a specified state from an XML encoding.(Overrides PermissionSet.FromXml(SecurityElement).)
Returns an enumerator for the permissions of the set.(Inherited from PermissionSet.)
Gets a hash code for the PermissionSet.GetHashCode().)object that is suitable for use in hashing algorithms and data structures such as a hash table.(Overrides
Gets a permission object of the specified type, if it exists in the set.(Inherited from PermissionSet.)
Removes a permission of a certain type from the set.(Inherited from PermissionSet.)
Creates an XML element description of the named permission set.(Overrides PermissionSet.ToXml().)
This API supports the product infrastructure and is not intended to be used directly from your code. Runs when the entire object graph has been deserialized.(Inherited from PermissionSet.)
Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)
Named permission sets are used in security policy administration to specify the permissions to be granted to code that belongs to certain code groups. Names are strings of alphanumeric characters. Description strings can consist of any printable characters.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.