Click or drag to resize

IAppContextHasPolicy Method (String)

Note: This API is now obsolete.

Returns true if the current user has not been explicitly denied the policy. NOTE: This method is deprecated. Use HasPolicy(String, Boolean) instead for improved security.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[ObsoleteAttribute("This class has been deprecated and is superceded by HasPolicy(policyName, defaultWhenMissing).")]
bool HasPolicy(
	string policyName
)

Parameters

policyName
Type: SystemString
The name of the policy

Return Value

Type: Boolean
true if the Policy has been granted, otherwise false.
See Also