Previous Topic: ProcessAzEvents Method—Sets or Retrieves the Authorization Event Flag in the Realm

Next Topic: RegScheme Method—Sets or Retrieves the Registration Scheme for the Realm

ProtectResource Method—Sets or Retrieves the Current Resource Protection Flag Example

The ProtectResource method sets or retrieves the current resource protection flag.

Syntax

The ProtectResource method has the following format:

Netegrity::PolicyMgtRealm‑>ProtectResource([protectFlag])

Parameters

The ProtectResource method accepts the following parameter:

protectFlag (int)

(Optional) Specifies whether enable resource protection:

Return Value

The ProtectResource method returns one of the following values:


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