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
)
<ObsoleteAttribute("This class has been deprecated and is superceded by HasPolicy(policyName, defaultWhenMissing).")>
Function HasPolicy (
policyName As String
) As Boolean
Parameters
- policyName
- Type: SystemString
The name of the policy
Return Value
Type:
Booleantrue if the Policy has been granted, otherwise false.
See Also