Returns true if the current user has been granted the policy.
Namespace: NetQuarry
Assembly: EAP.Core (in EAP.Core.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function HasPolicy( _ ByVal policyName As String _ ) As Boolean _ Implements IAppContext.HasPolicy |
| C# |
|---|
| public bool HasPolicy( string policyName ) |
| C++ |
|---|
| public: bool HasPolicy( String policyName ) sealed |
| J# |
|---|
| public bool HasPolicy( string policyName ) |
| JScript |
|---|
| public
function HasPolicy( policyName : String ) : bool |
Parameters
- policyName
- The name of the policy
Return Value
true if the Policy has been granted, otherwise false.