RunAsPermission.Issubsetof(CodeAccessPermission) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether a current permission is a subset of the specified permission when overridden by a derived class.
public:
override bool Issubsetof(Microsoft::Dynamics::Ax::Xpp::CodeAccessPermission ^ _target);
public override bool Issubsetof (Microsoft.Dynamics.Ax.Xpp.CodeAccessPermission _target);
override this.Issubsetof : Microsoft.Dynamics.Ax.Xpp.CodeAccessPermission -> bool
Public Overrides Function Issubsetof (_target As CodeAccessPermission) As Boolean
Parameters
- _target
- CodeAccessPermission
A CodeAccessPermission class object.
Returns
true if a current permission is a subset of a specified permission; otherwise, false.
Remarks
You can override the method as part of the process of making an API more secure.