Share via


RunAsPermission.isSubsetOf Method

Determines whether a current permission is a subset of the specified permission when overridden by a derived class.

Syntax

public boolean isSubsetOf(CodeAccessPermission target)

Run On

Called

Parameters

Return Value

Type: boolean
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. For more information, see .

See Also

Reference

RunAsPermission Class