Partilhar via


RunAsPermission.Issubsetof(CodeAccessPermission) Method

Definition

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.

Applies to