Previous Topic: Rule Methods

Next Topic: Action Method—Sets or Retrieves the Action for the Rule

AccessType Method—Sets or Retrieves the Flag that Allows or Denies Access to the Resource Protected by the Rule

The AccessType method sets or retrieves the flag that allows or denies access to the resource protected by the rule.

Syntax

The AccessType method has the following format:

Netegrity::PolicyMgtRule‑>AccessType([allowAccess])

Parameters

The AccessType method accepts the following parameter:

allowAccess (int)

(Optional) Specifies whether the rule allows access to the resource:

Return Value

The AccessType method returns one of the following values:


Copyright © 2010 CA. All rights reserved. Email CA about this topic