PrincipalPermission Methods

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCopy()

Creates and returns an identical copy of the current permission.

System_CAPS_pubmethodDemand()

Determines at run time whether the current principal matches the principal specified by the current permission.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified PrincipalPermission object is equal to the current PrincipalPermission.(Overrides Object.Equals(Object).)

System_CAPS_pubmethodFromXml(SecurityElement)

Reconstructs a permission with a specified state from an XML encoding.

System_CAPS_pubmethodGetHashCode()

Gets a hash code for the PrincipalPermission object that is suitable for use in hashing algorithms and data structures such as a hash table.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIntersect(IPermission)

Creates and returns a permission that is the intersection of the current permission and the specified permission.

System_CAPS_pubmethodIsSubsetOf(IPermission)

Determines whether the current permission is a subset of the specified permission.

System_CAPS_pubmethodIsUnrestricted()

Returns a value indicating whether the current permission is unrestricted.

System_CAPS_pubmethodToString()

Creates and returns a string representing the current permission.(Overrides Object.ToString().)

System_CAPS_pubmethodToXml()

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

System_CAPS_pubmethodUnion(IPermission)

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

Return to top
Show: